• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Enterprise Theme – Have banner on all page

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Enterprise Theme – Have banner on all page

This topic is: not resolved

Tagged: banner, Enterprise theme, WP Cycle

  • This topic has 2 replies, 3 voices, and was last updated 12 years, 5 months ago by Sridhar Katakam.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 8, 2013 at 9:27 pm #77772
    suffetyb
    Member

    On the posts page of the enterprise theme is a banner area with a rotating image. It's set up using a widget. What do I have to do to make that banner section show up on every page?

    December 9, 2013 at 9:53 am #77836
    nutsandbolts
    Member

    Can you post a link to your site? It's always easier to help when we can see what you see and take a look at what you've got in place.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 9, 2013 at 12:14 pm #77861
    Sridhar Katakam
    Participant

    Cut

    add_action( 'genesis_after_header', 'enterprise_home_top_helper' );
    /**
     * Conditionally add Home Top #1 (home-top-1) sidebar and WP-Cycle.
     */
    function enterprise_home_top_helper() {
    
    	echo '<div id="home-top-bg"><div id="home-top"><div class ="wrap">';
    
    	genesis_widget_area( 'home-top-1', array(
    		'before' => '<div class="home-top-1">',
    	) );
    
    	if ( is_active_sidebar( 'home-top-2' ) ) {
    	
    		genesis_widget_area( 'home-top-2', array(
    			'before' => '<div class="home-top-2">',
    		) );
    		
    	} elseif( function_exists('wp_cycle') ) {
    
    		echo '<div class="home-top-2">';
    		wp_cycle();
    		echo '</div><!-- end .home-top-2 -->';
    		
    	}
    	
    	echo '</div><!-- end .wrap --></div><!-- end #home-top --></div><!-- end #home-top-bg -->';
    
    }

    from home.php and paste at the end of functions.php.


    Genesis Tutorials | Follow me on Twitter

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble