- This topic has 2 replies, 2 voices, and was last updated 9 years, 4 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
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.
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/
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...
© 2023 WPEngine, Inc.