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
Verifying my Blockstack ID is secured with the address 1ACEAjp3RCbka6TQZFRdxHksrVRcx83WFT https://explorer.blockstack.org/address/1ACEAjp3RCbka6TQZFRdxHksrVRcx83WFT |
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 | |
/* | |
Plugin Name: Debug Give Wp | |
Plugin URI: https://gist.github.com/squarecandy/8ed8265bde0c39e42ab8a19c062bf534 | |
Description: Help discover where all of Give's action can plop in some content, and what all the filters do | |
Version: 1.0 | |
Author: Square Candy | |
Author URI: http://squarecandy.net | |
License: GPLv3 | |
License URI: http://www.gnu.org/licenses/gpl.txt |
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
<script> | |
(function($) { | |
$(window).load(function() { | |
var $fw_section = $('.custom_class'); | |
$fw_section.waypoint({ | |
handler: function(direction) { | |
$(this.element).find('video')[0].player.play(); | |
}, | |
offset: '50%' |
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 | |
/* DON'T copy the first line (above) if your functions.php already has it. | |
* ---------------------------------------------------------------------- */ | |
function my_et_theme_image_sizes( $sizes ) { | |
$sizes['200x200'] = 'my-et-pb-portfolio-image'; | |
return $sizes; | |
} | |
add_filter( 'et_theme_image_sizes', 'my_et_theme_image_sizes' ); |
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 | |
/* DON'T copy the first line (above) if your functions.php already has it. | |
* ---------------------------------------------------------------------- */ | |
function my_et_theme_setup() { | |
if ( class_exists( 'ET_Builder_Module_Filterable_Portfolio' ) && file_exists( 'my-main-modules.php' ) ) { | |
get_template_part( 'my-main-modules' ); | |
$et_pb_filterable_portfolio = new My_ET_Builder_Module_Filterable_Portfolio(); | |
remove_shortcode('et_pb_filterable_portfolio'); | |
add_shortcode('et_pb_filterable_portfolio', array( $et_pb_filterable_portfolio, '_shortcode_callback' ) ); |
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 | |
function my_et_theme_setup() { | |
if ( class_exists( 'ET_Builder_Module_Contact_Form' ) ) { | |
get_template_part( 'my-main-modules' ); | |
$et_pb_contact = new My_ET_Builder_Module_Contact_Form(); | |
remove_shortcode('et_pb_contact_form'); | |
add_shortcode('et_pb_contact_form', array( $et_pb_contact, '_shortcode_callback' ) ); | |
} | |
} |
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 | |
// Limit the number of revisions to 3 | |
add_filter( 'wp_revisions_to_keep', 'divi_limit_revisions', 10, 2 ); | |
function divi_limit_revisions( $num ) { | |
$num = 3; | |
return $num; | |
} | |
//Disable Emoji |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |