Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to add post info in category pages . . .
Tagged: .post-info, category pages, entry-meta
- This topic has 8 replies, 2 voices, and was last updated 6 years, 5 months ago by Brad Dalton.
-
AuthorPosts
-
July 7, 2018 at 1:19 pm #221416drschillingParticipant
I am seeing [post_date] By [post_author_posts_link] [post_comments][post_categories][post_tags] on my front page as follows:
You are here: Home
5 Successful Food Entrepreneurs And Their Successful Brands
July 7, 2018 By Boston Commons High Tech Staff
Filed Under: Digital Marketing & Social Media
Tagged With: Business Insider, CEO, India, Three TreesOn my category pages, there is no place to set post info. I'm only seeing this:
July 7, 2018 by Boston Commons High Tech Staff (Edit)
How to I make the category pages look like the front page with its post info?
Thanks
https://bostoncommons.net/July 7, 2018 at 8:34 pm #221426Brad DaltonParticipantWhat theme are you using?
Your theme must include PHP code which is removing the post info on archives. Check your functions file for this code and remove it.
July 7, 2018 at 11:31 pm #221447Brad DaltonParticipantJuly 8, 2018 at 10:05 am #221467drschillingParticipantHi Brad,
I'm using Magazine Pro. BTW, I signed up for your service a couple days ago!
July 8, 2018 at 9:50 pm #221478Brad DaltonParticipantHello David
Please find the following PHP code around line 171 in functions.php and remove it.
// Remove entry meta in entry footer. add_action( 'genesis_before_entry', 'magazine_remove_entry_meta' ); function magazine_remove_entry_meta() { // Remove if not single post. if ( ! is_single() ) { remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_open', 5 ); remove_action( 'genesis_entry_footer', 'genesis_post_meta' ); remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_close', 15 ); } }
The code removes the entry meta ( category and tag links ) from the entry footer on all entries excluding single posts.
July 9, 2018 at 10:12 am #221484drschillingParticipantHi Brad,
Thanks for your time & help!
I removed the code above from functions.php in Magazine Pro theme folder. It didn't really seem to help. Here's what I'm still seeing: https://www.screencast.com/t/IbBfnDq9tBG
I want to see what I'm getting on the home page: https://www.screencast.com/t/wMmQAnn7jR
Thanks!
July 9, 2018 at 10:18 am #221485drschillingParticipant(See above post first)
I see on categories pages that "Filed Under" and "Tagged with" (see below) show up at the bottom of the post (footer) but I'd like these to show up in the same way they do on the home page ie: under the title, at the top.
Filed Under: Technology
Tagged With: CEO, Europe, Google Gmail, Top Silicon ValleyJuly 9, 2018 at 10:22 am #221486Brad DaltonParticipantYou've taken a screenshot of a single post.
Didn't you want to show the entry meta in the entry footer on archive pages?
I'm referring to showing the category and tag links on archives.
The post info relates to showing the entry meta in the entry header for the author, date etc.
If you want to modify the post info, you can use this code. https://my.studiopress.com/documentation/snippets/entry-header-html5/customize-the-entry-header/
July 9, 2018 at 10:25 am #221487Brad DaltonParticipantOk so you want to reposition the entry meta in the entry footer to the entry header which is under the post info?
Try this code in functions
remove_action( 'genesis_entry_footer', 'genesis_post_meta' ); add_action( 'genesis_entry_header', 'genesis_post_meta' );
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.