• 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

Widget order

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 › Widget order

This topic is: resolved
  • This topic has 2 replies, 2 voices, and was last updated 13 years, 7 months ago by charriott4.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 7, 2013 at 12:29 pm #18707
    charriott4
    Member

    http://ncajournal.myprowebsolutions.com/

    Im trying to add ad space above the header image,

    I've registered my sidebar and displayed it. Now how do I get it to show as 1st in the header. I do not want to use genesis_before.

    add_action( 'genesis_before', 'child_header_top_ad' );
    /** Loads ad in the top header */
    function child_header_top_ad() {
    echo '<div class="top-header-ad">';
    dynamic_sidebar( 'top-header-ad' );
    echo '</div>';
    }

    genesis_register_sidebar( array(
    'id' => 'top-header-ad',
    'name' => __( 'Top Header Ad', 'news' ),
    'description' => __( 'This is the ad in the top of the header section.', 'news' ),
    ) );


    Web Designs By Chrissy | Twitter @designbychrissy

    Follow Me On Facebook

    February 18, 2013 at 11:10 am #21028
    cehwitham
    Participant

    As this is marked as resolved did you find a solution to this problem?


    Twitter: cehwitham Web: cehwitham.com

    February 19, 2013 at 7:35 pm #21545
    charriott4
    Member

    Yes i did, thank you


    Web Designs By Chrissy | Twitter @designbychrissy

    Follow Me On Facebook

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Widget order’ is closed to new 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