Community Forums › Forums › Archived Forums › General Discussion › Essence Pro Tags
Tagged: Essence Pro post meta
- This topic has 5 replies, 2 voices, and was last updated 5 years, 10 months ago by John Cameron.
-
AuthorPosts
-
June 26, 2018 at 6:01 pm #221148John CameronParticipant
I've used Genesis Simple Edits to add tags to the 'Entry Meta (below content)'. The tags are not showing after the post content in a test post.
I've not had this problem before. Simple Edits just works. Not sure what I'm doing wrong.
Any help is greatly appreciated.
p.s.
https://sd64bc.wpcdev.ca/test-post-for-tags/
I'm working in a 'staging site' changing from a non-Genesis theme to Essence Pro.June 27, 2018 at 9:10 pm #221178John CameronParticipantActually, this site was launched on a Studio Press theme, years later changed to a non-Studio Press theme and years later I'm now working with Essence Pro.
Perhaps this is a question someone can answer: how do I get tags to show on posts?
June 28, 2018 at 9:23 am #221193John CameronParticipantFurther info:
checking the functions.php file (which is unmodified), I do have this section:
add_filter( 'genesis_post_info', 'essence_modify_post_info' ); /** * Modifies the meta information in the entry header. * * @since 1.0.0 * * @param string $post_info Current post info. * @return string New post info. */ function essence_modify_post_info( $post_info ) { global $post; setup_postdata( $post ); if ( is_single() ) { $post_info = '[post_categories before="" after=" /"] [post_date] <i class="byline">by</i> [post_author_posts_link] [post_comments before="/ "] [post_edit]'; } else { $post_info = '[post_categories before=""]'; } return $post_info;
}
And I do have [post-tags] in the Entry Meta (below content) section of Simple Edits
June 28, 2018 at 9:33 am #221194John CameronParticipantUpdate:
Looks like [post-tags] in the Entry Meta (above content) will display tags.
Not really what I want; might have to live with itIf anyone can provide info on getting the tags below content, please reply...
thanks
June 29, 2018 at 4:23 am #221215TerryMemberMorning John,
This may help you out.
Around line 417 of your functions.php file you'll find the code that's removing your entry_footer.
// Removes the entry footer. remove_action( 'genesis_entry_footer', 'genesis_post_meta' ); remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_open', 5 ); remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_close', 15 );
You'll want to remove that and then maybe add the following filter to format as you wish:
// Customize entry meta footer add_filter( 'genesis_post_meta', 'update_post_meta_filter' ); function update_post_meta_filter( $post_meta ) { $post_meta = '[post_categories] [post_tags]'; return $post_meta; }
Let us know how you make out and if this takes care of it, please mark "Resolved."
Terry
June 29, 2018 at 10:10 am #221218John CameronParticipantHi Terry,
Thanks a bunch for taking the time to help out!
I removed the "Removes entry footer" code from functions.php
Then added the "Customize entry meta footer" code.Opened Genesis Simple edits and moved the [post_tags] shortcode to Entry Meta (below content).
That seemed to work!
https://sd64bc.wpcdev.ca/student-feedback-on-exploring-forest-and-sea/
Also, I can now choose to have tags above or below.
I'm going to mark this 'Resolved'.
-
AuthorPosts
- The topic ‘Essence Pro Tags’ is closed to new replies.