• 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

How to creat after_header widget

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 › How to creat after_header widget

This topic is: not resolved

Tagged: After Header, new widget

  • This topic has 3 replies, 3 voices, and was last updated 8 years, 5 months ago by Getwhatsappstatus.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 9, 2017 at 8:41 pm #200886
    ramon
    Member

    Hi,

    I want to create genesis_after_header widget. I read some tutos but i can“t do it.

    Could you help me please?

    February 10, 2017 at 1:10 am #200888
    Brad Dalton
    Participant

    Try this tutorial


    Tutorials for StudioPress Themes.

    February 10, 2017 at 12:19 pm #200924
    ramon
    Member

    Hi @braddalton, thanks for your answer. The link is broken, but I read this good tutorial. I think it is yours.

    Yesterday did not work, but today has worked perfectly. Perhaps I needed to get some sleep. Thank you for the excellent information.

    genesis_register_sidebar( array(
    'id' => 'custom-widget',
    'name' => __( 'Custom Widget', 'genesis' ),
    'description' => __( 'Custom Widget Area', 'childtheme' ),
    ) );
    
    add_action( 'genesis_after_header', 'add_genesis_widget_area' );
    function add_genesis_widget_area() {
                    genesis_widget_area( 'custom-widget', array(
    		'before' => '<div class="custom-widget widget-area">',
    		'after'  => '</div>',
        ) );
    
    }
    February 11, 2017 at 2:11 am #200945
    Getwhatsappstatus
    Member

    You can learn this from this blog or you can learn all about blogging from their- LetsTrick


    Valentine’s Day quotes for her | Valentines Day Quotes for Him

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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

© 2025 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