• 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

Which Genesis Hooks do these Woo Hooks Match up With?

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 › General Discussion › Which Genesis Hooks do these Woo Hooks Match up With?

This topic is: not resolved

Tagged: genesis hooks

  • This topic has 4 replies, 2 voices, and was last updated 10 years, 1 month ago by Paddy.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 10, 2016 at 5:06 am #181106
    Paddy
    Member

    Hi, while switching from a Woo theme to Genesis, i'm trying to replace the Woo hooks with Genesis ones. Some are quite obvious but others not as much for a beginner.

    Here are a few which i'm not totally sure about and would appreciate some pointers. Thanks for any feedback.

    #1

    woo_main_before - Executed before the opening #main DIV tag.
    genesis_before_content_sidebar_wrap - This hook executes immediately before the div block that wraps the content and the primary sidebar (outside the #content-sidebar-wrap div).

    #2

    woo_footer_top - Executed at the top of the footer.php file.
    woo_footer_before - Executed before the opening #footer DIV tag.
    genesis_before_footer - This hook executes immediately before the footer, outside the #footer div.

    #3

    woo_footer_inside - Executed at the top, inside the #footer DIV tag.
    genesis_footer - This hook, by default, outputs the content of the footer, including the #footer div wrapper.

    #4

    woo_header_inside() - Executed at the top, inside the #header DIV tag.
    genesis_header - By default, this hook outputs the header code, including the title, description, and widget area (if necessary).

    #5

    woo_top - Executed below the opening tag.
    genesis_pre - This is the first hook to execute within Genesis. Think of any function hooked to it as being executed before any Genesis functions have loaded.

    #6

    woo_post_inside_before - Executed at the top, inside each post’s DIV tag.
    woo_post_inside_after - Executed at the bottom, inside each post’s DIV tag.
    ??

    March 10, 2016 at 5:44 pm #181173
    Brad Dalton
    Participant

    Try this guide to Genesis hooks http://wpsites.net/genesis-hooks/


    Tutorials for StudioPress Themes.

    March 10, 2016 at 9:32 pm #181186
    Paddy
    Member

    Hey Brad - thanks for the link. That's a great visual aid to complement the descriptively named Genesis hooks. The tricky part is trying to understand the Woo hooks and then line them up appropriately.

    For example ... "woo_main_before - Executed before the opening #main DIV tag". It's not very intuitive which Genesis hook this should match up with. I don't mind doing the leg work to figure it out, and just need some pointers on where to start digging. "genesis_before_content_sidebar_wrap" is a guess based on the description.

    Or, "woo_post_inside_before - Executed at the top, inside each post’s DIV tag". Would 'inside each post's DIV' be inside the Genesis loop, and hence this hook matches up with genesis_loop or genesis_before_entry perhaps?

    March 11, 2016 at 6:24 am #181205
    Brad Dalton
    Participant

    I think you'll need to test manually to find out. There's no comparison for these hooks which i've seen.

    I assume you have custom functions for Woo which you want moved to Genesis?


    Tutorials for StudioPress Themes.

    March 19, 2016 at 5:11 pm #181886
    Paddy
    Member

    "I think you'll need to test manually to find out." - Sure. Do you know if it's best to echo some text at different points and then do a visual comparison or is there a more efficient way to do it.

    "I assume you have custom functions for Woo which you want moved to Genesis?" - Yes. Appreciate any pointers if you have them. Thanks.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ 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