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
/* Column Classes | |
Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css | |
--------------------------------------------- */ | |
.five-sixths, | |
.four-sixths, | |
.one-fourth, | |
.one-half, | |
.one-sixth, | |
.one-third, |
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
/* Column Classes | |
Link: Link: http://wpsmith.net/2013/wp/genesis-2-0-drops-fifths-from-column-classes/ | |
Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css | |
--------------------------------------------- */ | |
.five-sixths, | |
.four-sixths, | |
.four-fifths, | |
.one-fifth, | |
.one-fourth, |
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
<div class="top-row-wrap"> | |
<div class="top-row-wrap-inner"> | |
<?php echo do_shortcode( '[top_left]' ); ?><?php echo do_shortcode( '[top_right]' ); ?> | |
</div> | |
</div> | |
<div class="bottom-row-wrap"> | |
<div class="bottom-row-wrap-inner"> | |
<?php echo do_shortcode( '[bottom_left]' ); ?><?php echo do_shortcode( '[bottom_right]' ); ?> | |
</div> |
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
.label-fluid-page .site-inner, | |
.label-fluid-page .content-sidebar-wrap, | |
.label-fluid-page .content { | |
width: 100%; | |
max-width: 100%; | |
padding: 0; | |
} | |
.top-row-wrap { | |
background: #eee; | |
} |
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 | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); | |
remove_action( 'genesis_loop', 'genesis_do_loop' ); | |
genesis(); | |
?> |
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 | |
// you can add this to your theme's functions.php file. do not include the opening tag. | |
add_filter( 'the_excerpt_rss', 'rgc_add_featured_image_to_feed_excerpt', 1000, 1 ); | |
function rgc_add_featured_image_to_feed_excerpt( $content ) { | |
if ( has_post_thumbnail( get_the_ID() ) ) { | |
$content = get_the_post_thumbnail( get_the_ID(), 'thumbnail', array( 'align' => 'left', 'style' => 'margin-right:20px;' ) ) . $content; | |
} |
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
genesis_register_sidebar( array( | |
'id' => 'home-featured-left', | |
'name' => 'Home Featured Left', | |
'description' => 'This is the Home Featured Left section' | |
) ); | |
genesis_register_sidebar( array( | |
'id' => 'home-featured-right', | |
'name' => 'Home Featured Right', | |
'description' => 'This is the Home Featured Right section' | |
) ); |
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
function my_theme_register_part_hooks( $parts ) { | |
$parts[] = array( | |
'label' => 'Custom Hooks', | |
'hooks' => array( | |
'genesis_after_before-footer_widget_area' => 'Before Footer Widgets', | |
) | |
); | |
return $parts; | |
} | |
add_filter( 'fl_theme_builder_part_hooks', 'my_theme_register_part_hooks', 11 ); |
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 | |
/** | |
*----------------------------------------------------------- | |
* Add publisher logo/image schema for Beaver Builder plugin | |
*----------------------------------------------------------- | |
* | |
* Filter: 'fl_schema_meta_publisher_image_url' | |
* Defined in: bb-plugin/modules/post-grid/post-grid.php | |
* |