Search for: Log In Free Support [Support request] Categories and tag under the title Home › Forums › Support › Categories and tag under the title This topic has 6 replies, 2 voices, and was last updated 7 months ago by David. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts July 30, 2020 at 2:32 am #1381550 Michele Hello! I have a site where I publish many articles. I would need the categories and tags to appear under the title, next to the date and the author. Could you help me step by step to understand how to do it? Thank you, Michele July 30, 2020 at 3:42 am #1381618 DavidStaff Customer Support Hi there, requires a little PHP Code that uses the generate_header_entry_meta_items filter: https://docs.generatepress.com/article/generate_header_entry_meta_items/ The code you would add to change your single post meta is this: add_filter( 'generate_header_entry_meta_items', function( $items ) { if ( is_single() ) { $items = array( 'date', 'author', 'categories' ); } return $items; } ); And this document explains how to add PHP code to your site: https://docs.generatepress.com/article/adding-php/ Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ July 30, 2020 at 3:51 am #1381624 Michele Ok thank you. So when I enter the code in Functions.php, the categories and tags will appear under the title, right? July 30, 2020 at 4:00 am #1381634 DavidStaff Customer Support I am so sorry – i missed a comma in the code. I have corrected that mistake in the code above. Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ July 30, 2020 at 4:02 am #1381635 Michele Thank you! July 30, 2020 at 5:35 am #1381699 Michele I would like the categories and tags under the data and the author and not close, what would be the exact code for this? Thanks! July 30, 2020 at 7:12 am #1381756 DavidStaff Customer Support If you add that correct code – i can then look at the CSS required to move them below the date/author line Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 7 posts - 1 through 7 (of 7 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In