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 <--// remove | |
// Cloudflare Keys | |
function cloudflare_key() { | |
$sitekey = "XXXXXXXXXX"; | |
$secretkey = "XXXXXXXXXX"; | |
return [$sitekey, $secretkey]; | |
} | |
// Use Turnstile for comments, load only on single posts |
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 <~~ don't add me in | |
/* | |
* Adding Cloudflare Turnstile to WordPress Comment | |
* https://redpishi.com/wordpress-tutorials/cloudflare-turnstile-captcha-wordpress/ | |
*/ | |
function cloudflare_key(){ |
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
/* Google Review Sider & Grid | |
--------------------------------------------- */ | |
/* Google Review Plugin Swap #000000 and #ffb200 for your colors */ | |
@media(min-width:768px) { | |
/* Testimonials Equal Height*/ | |
.wprevpro_t1_outer_div { | |
display: flex; |
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 ~> don't add me / this function calls the script.js | |
add_filter( 'wp_grid_builder/frontend/register_scripts', 'prefix_register_script' ); | |
//gridbuilder external js script | |
function prefix_register_script( $scripts ) { | |
$scripts[] = [ | |
'handle' => 'global', | |
'source' => '/wp-content/themes/mytheme/js/script.js', |
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 | |
/** | |
* Plugin Name: Runcloud BeaverCache Purge Helper | |
* Plugin URI: https://gist.github.com/neilgee/4a251b24f65a70849ab122afa6dfac0fp | |
* Description: Adding additional hooks to trigger RunCloud or lscache plugin purges | |
* Version: 0.1 | |
* Author: Paul Stoute, Jordan Trask, Jeff Cleverly, Neil Gowran | |
* Author URI: https://github.com/jordantrizz/cache-purge-helper | |
* Text Domain: runcloud-beaver-cache-purge-helper |
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
/* 2-col WooCommerce Checkout - tested in BB Theme, Generate Press, TwentyTwelve, TwentyThirteen, TwentyFourteen TwentyFifteen, TwentySixteen, TwentySeventeen and TwentyNineteen */ | |
/* TwentyTwenty and TwentyTwentyOne already have this CSS or similar */ | |
@media(min-width:768px) { | |
.woocommerce .col2-set .col-1, | |
.woocommerce-page .col2-set .col-1 { | |
width: 90%; | |
} |
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
.fl-icon-selector .fl-lightbox { | |
height: 100%; | |
width: 100%; | |
margin-top: 0 !important; | |
} |
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 | |
/** | |
* Plugin Name: Woo Custom Webhook | |
* Plugin URI: https://wpbeaches.com/send-full-product-details-over-woocommerce-webhook-action-hook/ | |
* Description: Custom WooCommerce Webhook Action | |
* Author URI: https://github.com/woocommerce/woocommerce/issues/20336#issuecomment-829510702 | |
* Version: 0.1.0 | |
*/ | |
NewerOlder