This file contains 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 | |
/** | |
* Customisation of Tax Toggle for WooCommerce for compatibility with 99w Rentals Plugin | |
* | |
* Based on Tax Toggle for WooCommerce 1.3.6 | |
* | |
* Plugin: https://1.envato.market/taxtoggle | |
* | |
* @param string $price_display_override Rental price. |
This file contains 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 | |
/** | |
* Customisation of Tax Toggle for WooCommerce to show From X to X price label on variable products. | |
* | |
* Based on Tax Toggle for WooCommerce 1.3.6 | |
* | |
* Plugin: https://1.envato.market/taxtoggle | |
* | |
* @param string $price Price. | |
* @param object $product Product. |
This file contains 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
/** | |
* Custom code for Tax Toggle for WooCommerce - Changes text of button on click | |
* | |
* Based on Tax Toggle for WooCommerce 1.3.6 | |
* | |
* Plugin: https://1.envato.market/taxtoggle | |
* | |
**/ | |
This file contains 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 | |
/** | |
* Remove Tax inc/exc toggle code on some pages. | |
* | |
* Based on Tax Toggle for WooCommerce 1.3.6 | |
* | |
* Plugin: https://1.envato.market/taxtoggle | |
*/ | |
function woo_tax_toggle_remove_tax_on_some_pages(){ |
This file contains 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 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 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 | |
proxy: | |
node: | |
- bs.basetheme.lndo.site:3000 | |
excludes: |
This file contains 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 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 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" |