• 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

Unable to register homepage widgets

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 › Unable to register homepage widgets

This topic is: resolved

Tagged: homepage, Prose, Register Widgets

  • This topic has 6 replies, 2 voices, and was last updated 12 years, 4 months ago by ellenstevens.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • July 23, 2013 at 12:15 am #51986
    ellenstevens
    Member

    Using Prose.

    I've been trying various methods of writing code to register widgets for my homepage, however none of the widgets are appearing.

    Any ideas for creating widgets for:
    - Homepage Slider
    - 3 Mid-Homepage Widget Sections

    Thanks for your ideas!

    ellen
    http://ellenstevens.com/test/

    http://ellenstevens.com/test/
    July 23, 2013 at 12:52 am #51989
    Brad Dalton
    Participant

    Try this new plugin http://genesisthemes.de/en/wp-plugins/genesis-prose-extras/


    Tutorials for StudioPress Themes.

    July 23, 2013 at 7:58 am #52051
    ellenstevens
    Member

    I've tried this. It doesn't work correctly. 1) it adds an additional menu bar, 2) it doesn't offer the sidebar locations I'm looking for, 3) the sidebars it does offer don't appear.

    Any other ideas?

    July 23, 2013 at 12:04 pm #52104
    Brad Dalton
    Participant

    You can also use the Genesis Layout Extra's plugin as well.

    Another option is to hand code it.


    Tutorials for StudioPress Themes.

    July 23, 2013 at 12:28 pm #52112
    ellenstevens
    Member

    I've tried the plugins and they don't seem to be working.

    I've also tried to hardcode registering the sidebar widgets by placing code into Custom Functions. This doesn't seem to work, either. Can you see if there is something missing with the code?

    /* Register Widgets */
    register_sidebar( array( 'id' => 'home-top',
    'name' => __( 'Home Top', 'prose' ),
    'description' => __( 'This is the homepage top section.', 'prose' ),
    'before_widget' => '',
    'after_widget' => ''
    ));

    register_sidebar( array(
    'id' => 'home-mid-l',
    'name' => __( 'Home MidPage Left', 'prose' ),
    'description' => __( 'This is the home mid-page left section.', 'prose' ),
    'before_widget' => '',
    'after_widget' => ''
    ));

    register_sidebar( array(
    'id' => 'home-mid-m',
    'name' => __( 'Home MidPage Middle', 'prose' ),
    'description' => __( 'This is the home mid-page middle section.', 'prose' ),
    'before_widget' => '',
    'after_widget' => ''
    ));

    register_sidebar( array(
    'id' => 'home-mid-r',
    'name' => __( 'Home MidPage Right', 'prose' ),
    'description' => __( 'This is the home mid-page right section.', 'prose' ),
    'before_widget' => '',
    'after_widget' => ''
    ));

    register_sidebar( array(
    'id' => 'home-bottom',
    'name' => __( 'Home Bottom', 'prose' ),
    'description' => __( 'This is the homepage bottom section.', 'prose' ),
    'before_widget' => '',
    'after_widget' => ''
    ));
    ?>

    July 23, 2013 at 12:38 pm #52115
    Brad Dalton
    Participant

    I have tested these plugins and they both work.

    Where did you get the code from? Its not complete and won't work unless you also have an action in a custom function to hook in the widgets.


    Tutorials for StudioPress Themes.

    July 24, 2013 at 10:40 am #52249
    ellenstevens
    Member

    I'm sure the plugins work, but they don't have what I am looking for. I did figure out the problem. Apparently in Prose, the Custom Functions option does not work for registering sidebars.

    Here is a great workaround for anyone else trying to figure this out:

    http://wpconnected.com/genesis-custom-home-page/

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Unable to register homepage widgets’ 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

© 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