Instantly share code, notes, and snippets.

View custom-scripts.js
/* // EQUAL HEIGHT BOXES // */
equalheight = function (container) {
var currentTallest = 0,
currentRowStart = 0,
rowDivs = new Array(),
$el,
topPosition = 0;
$(container).each(function () {
View functions.php
<?php
/**
* Customize product data tabs
*/
add_filter( 'woocommerce_product_tabs', 'woo_custom_reviews_tab', 98 );
function woo_custom_reviews_tab( $tabs ) {
$tabs['reviews']['callback'] = 'show_custom_reviews_tab_content'; // Custom description callback
View functions.php
<?php
//* Force full-width-content layout for Gutenberg pages
add_filter( 'genesis_site_layout', 'setGutenbergPageLayout' );
function setGutenbergPageLayout(){
if ( function_exists( 'has_blocks' ) && has_blocks( get_the_ID() ) ) {
return 'full-width-content';
}
}
View genesis-enews-widget.md

TITLE: Start building your brand for free.

TEXT TO SHOW AFTER FORM:

<p>Sign up and we'll email you a free PDF about Personal Branding. We respect your privacy, and never share your information.</p>

FORM ACTION: #

View text-widget.md

TITLE:

Start building your brand for free.

CONTENT:

[gravityform id="2" title="false" description="false"]

<p>Sign up and we'll email you a free PDF about Personal Branding. We respect your privacy, and never share your information.</p>

View text-widget-1.md

TITLE: Build your brand, build your business.

CONTENT:

View widget.html
<a class="button" href="https://www.youtube.com/watch?v=YbRubFUmAtc" rel="wp-video-lightbox">Watch Video</a>
View html-widget.html
Take a look at this example of the Course Maker theme by brandiD, built exclusively for the Genesis Framework. We like it so much, we're going to use it to market our own Personal Branding class.
<a class="button" href="https://www.youtube.com/watch?v=YbRubFUmAtc" rel="wp-video-lightbox">Watch Video</a>
View html-widget.html
<h1>Get to the Head of the Class</h1>
<p class="subhead">Lead your class with this clear, vibrant, easy-to-edit Genesis theme.</p>
<p>This theme is packed full of features and functionality to help you market your new course. The homepage layout will drive traffic to your site and engage users with your online course materials while communicating than you're an autority in your space, without actually saying that -- unless you want it to!</p>
<a href="https://thebrandidthemes.com/shop/" class="button">Buy the Theme</a>
View widget.html
<a href="#" class="button">Buy the Theme</a>