Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /** Top Homepage feature section */
- add_action( 'genesis_after_header', 'news_homepage_feature', 9 );
- function news_homepage_feature() {
- if ( is_home() && is_active_sidebar( 'homepage-feature' ) ) {
- echo '<div class="homepage-feature">';
- dynamic_sidebar( 'homepage-feature' );
- echo '</div><!-- end .homepage-feature -->';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement