Search for: Log In Free Support [Resolved] Excluding meta on posts pages but not on single post pages. Home › Forums › Support › Excluding meta on posts pages but not on single post pages. This topic has 4 replies, 3 voices, and was last updated 3 years, 11 months ago by Leo. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts May 11, 2017 at 8:55 am #316768 Andrew Excluding meta (Date, Author, etc) on latest posts pages and category pages but not on single post pages. Is this possible? Maybe I should edit the relevant php file and use a child theme? GP Premium 1.2.96 May 11, 2017 at 10:06 am #316791 LeoStaff Customer Support Hi Andrew, Give this CSS a shot: .blog .entry-meta, .archive .entry-meta, .category .entry-meta { display: none; } Adding CSS: https://docs.generatepress.com/article/adding-css/ Let me know. Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ May 11, 2017 at 10:16 am #316804 TomLead Developer Lead Developer If you’d like to remove them completely (not just hide them), try this: add_action( 'wp','tu_remove_meta_on_index' ); function tu_remove_meta_on_index() { if ( ! is_single() ) { remove_action( 'generate_after_entry_title', 'generate_post_meta' ); remove_action( 'generate_after_entry_content', 'generate_footer_meta' ); } } Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development May 11, 2017 at 12:58 pm #316870 Andrew OK, great, the CSS works – should have guessed that. Hiding is good enough but thanks for the functions snippet. And great theme by the way. May 11, 2017 at 12:59 pm #316872 LeoStaff Customer Support Thanks Tom 🙂 Glad we could help! Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In