This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- wp:paragraph --> | |
<p>This page contains all our legal statements.</p> | |
<!-- /wp:paragraph --> | |
<!-- wp:heading --> | |
<h2>Privacy Policy </h2> | |
<!-- /wp:heading --> | |
<!-- wp:paragraph --> | |
<p>This privacy notice was last updated on: XXXX DATE </p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery( document ).ready( | |
function( $ ) { | |
var newDiv = document.createElement('div'); | |
$(newDiv).attr('id','slider-nav'); | |
$(newDiv).attr('class','slider-nav'); | |
$('.flex-control-nav').wrap('#slider-nav'); | |
$('.flex-control-nav').wrap(newDiv); | |
$('.flex-control-nav').before('<span class="chevron-up"></span>'); | |
$('.flex-control-nav').after('<span class="chevron-down"></span>'); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: basetheme | |
recipe: wordpress | |
config: | |
webroot: . | |
keys: | |
- id_rsa | |
excludes: | |
- vendor | |
- node_modules | |
services: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#wcvat-toggle { | |
margin: 0 4rem; | |
padding: 0; | |
position: relative; | |
border: none; | |
height: 1.5rem; | |
width: 3rem; | |
border-radius: 1.5rem; | |
color: #6b7381; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# start from your package.json | |
npm run wp-env start | |
# default address | |
http://localhost:8888 | |
# default credentials | |
username: admin | |
password: password |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install qpdf | |
brew install qpdf | |
# run in the directory | |
qpdf --decrypt --password="password" "original.pdf" "new.pdf" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Illuminate\Support\Facades\Log; | |
class Component extends Model { | |
Log::info(print_r($variable, true)); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// register the dots background block. | |
acf_register_block_type( | |
array( | |
'name' => 'section-dots', | |
'title' => 'Section - Dots', | |
'description' => 'A full width section similar to group block to allow for dots background image.', | |
'render_template' => get_template_directory() . '/theme-parts/blocks/section-dots.php', | |
'enqueue_style' => get_template_directory() . '/theme-parts/blocks/section-dots.css', | |
'mode' => 'preview', | |
'icon' => 'format-aside', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# display the logs of a container | |
docker logs | |
# continue showing log updates | |
docker logs -f mycontainer | |
# lists the volumes | |
docker volume ls | |
# stops all running containers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Hides the tick on WooCommerce Tax Toggle */ | |
#wcvat-toggle.on::before { | |
content: ""; | |
background-image: url(); | |
padding-left: 0; | |
background-size: 0; | |
} |