• 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

Move primary widget location to different hook

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 › Move primary widget location to different hook

This topic is: resolved

Tagged: moving widgets

  • This topic has 2 replies, 2 voices, and was last updated 11 years, 5 months ago by ryandiks.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 2, 2014 at 7:14 pm #116775
    ryandiks
    Member

    Hello, I'm not very experienced in PHP and WordPress/Genesis. I have a custom child theme (not designed by me, designer no longer on contract) and I want to move the location of the Primary Widget from the genesis_before_sidebar_widget_area to genesis_after_sidebar_widget_area. At least, I think that's what I need to do!

    http://globalfrontiermissions.org/welcoming-unreached-people-groups-and-diaspora-missions-in-north-america/

    The text that is on the top right hand corner (Upcoming STM Trips), I would like moved to below the quotes and quicklinks section which is a custom sidebar.

    How do I do this?

    http://globalfrontiermissions.org/welcoming-unreached-people-groups-and-diaspora-missions-in-north-america/
    August 3, 2014 at 2:46 pm #116871
    chrisrouse
    Member

    Are you sure it's not just a standard widget? Looking at the source, it's inside the widget wrapper, so I would check there first before you try anything else. It appears to just be a text widget.

    August 4, 2014 at 10:45 pm #117119
    ryandiks
    Member

    Not quite what you were saying, Chris. But, you provided the lead I needed! That custom sidebar was inserted inside the standard Genesis sidebar:

    add_action('genesis_sidebar','page_custom_sidebar');

    And the Primary Widget location was defaulting to always on top of the page_custom_sidebar. I realized that I could achieve what I was looking for by changing the location of the custom sidebar to genesis_before_sidebar_widget_area.

    add_action('genesis_before_sidebar_widget_area','page_custom_sidebar');

    And now it works the way I want it! I'm actually using Genesis Simple Sidebars now to put different data in that primary widget area (aka the standard sidebar) to customize different pages. But the data in the custom sidebar needs to be on top of whatever I'm doing in the Simple Sidebar.

    Thanks for the help!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Move primary widget location to different hook’ 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