• 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

Adding section between post info and post body

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 › Adding section between post info and post body

This topic is: not resolved

Tagged: .post-info, adding section

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 4 months ago by igkteam.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 14, 2014 at 10:49 pm #105221
    igkteam
    Member

    Hi everyone,

    I'm trying to add a section between <div class="post-info"></div> and <div class="entry-content"></div>

    We have a left-floating Post Info section you'll see in the link, and using the add_filter( 'genesis_post_info', 'sp_post_info_filter' ); to return a specific value.

    Below that output (Category and social media icons, etc.) we want to add "Prev" and "Next" image links using the previous_post() and next_post() functions.

    Obviously when using the post_info filter above, it returns a string, so we can't execute a function inside of it, making me pose the question of how can we add a section between the post info and post body, float it to the left and below the post info data?

    Many thanks in advance!

    http://igotkat.com/3-actual-ways-to-make-your-brand-successful-and-keep-it-that-way/
    May 15, 2014 at 1:55 am #105245
    Brad Dalton
    Participant

    You can filter the post info and add it after that.


    Tutorials for StudioPress Themes & WooCommerce.

    May 15, 2014 at 2:47 pm #105372
    igkteam
    Member

    Thank you. Yes, that's what we're doing now - using that filter, but as you see, there is a return of the $post_info variable there, and I can't append an executable into the variable for it to return as a string, nor do I know how to add anything after that. There is no genesis_after_post_info hook that I can find...

    Thank you!

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

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