• 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

Genesis 2.0 Footer Hook Method Question

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 › Genesis 2.0 Footer Hook Method Question

This topic is: not resolved
  • This topic has 1 reply, 1 voice, and was last updated 12 years, 9 months ago by alex2k5.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • September 28, 2013 at 2:23 pm #64598
    alex2k5
    Participant

    Hey everyone,

    Working on converting my current custom theme built off 1.9 to an HTML5 Genesis 2.0 theme.

    Before, I had an extra div after the post-content for taxonomy. So, before we had...

    <div class="entry hentry">

    <div class="entry-title"> </div>

    <div class="post-info"> </div>

    <div class="entry-content"> </div>

    <div class="post-meta"> </div>

    **** Custom **** <div class="post-taxonomy"> </div>

    </div> // end entry

    However, now we have....

    <article class="entry">

    <header class="entry-header">

    <h1 class="entry-title"> </h1>

    <p class="entry-meta"> </p>

    </header>

    <div class="entry-content"> </div>

    <footer class="entry-footer">

    <p class="entry-meta"> </p>

    </footer>

    </article>

    If I use the same hook method as before, using genesis_entry_footer - formerly genesis_after_post_content - My custom div/ p for taxonomy now shows after the new footer block.

    I'm assuming for HTML5, semantically, we'd like to keep any post-content data inside the footer.

    So, how would we go about adding another P tag, aka another row, inside footer, but after the normal p class="entry-meta" paragraph.

    Desired result is:

    <footer class="entry-footer">

    <p class="entry-meta"> </p>

    <p class="entry-meta taxonomy"> MY STUFF HERE </p>

    </footer>

    Any help appreciated. Thanks!

    September 30, 2013 at 4:16 pm #64842
    alex2k5
    Participant

    Figured it out. Needed to alter the hook order to fire before the genesis_entry_footer_markup_close function, which is 15.

    add_action( 'genesis_entry_footer', 'post_taxonomy_filter', 14);

    That puts things inside the <footer></footer> block, after the default post-meta, but before </footer>.

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