Home › Forums › Support › Blog Posts Customization This topic has 9 replies, 3 voices, and was last updated 3 years, 7 months ago by Leo. Viewing 10 posts - 1 through 10 (of 10 total) Author Posts August 18, 2020 at 6:32 am #1407656 Claire Hi, How can I get my author, category, comments etc., on the top of my blog posts? I’m in the Customize/Blog/Content section, but they don’t all show on the top of my blog posts. You can see my ‘by Claire Bullerwell’ is not centered and is by itself. https://www.athomebeauty.co/derma-needling/ Here’s an image to show you what I mean. Thanks, August 18, 2020 at 7:05 am #1407715 DavidStaff Customer Support Hi there, Try adding this PHP Snippet to place them in the Header Entry Meta: add_filter( 'generate_header_entry_meta_items', function( $items ) { if ( is_single() ) { $items = array( 'author', 'categories', 'comments-link', ); } return $items; } ); August 18, 2020 at 7:10 am #1407719 Claire Hi, Place that code in the additional css? I did that but the code just come up as errors. August 18, 2020 at 7:15 am #1407725 DavidStaff Customer Support Sorry that code is PHP – this link will help: https://docs.generatepress.com/article/adding-php/ TLDR: Place it in your Child Themes functions.php or add it to the site using the Code Snippets plugin August 18, 2020 at 7:31 am #1407745 Claire Thanks, That worked, but how can it be centered with vertical bars in between? > (centered) author | category | comments August 18, 2020 at 8:36 am #1407990 LeoStaff Customer Support I’m not seeing the meta currently but you can try this to add the vertical bar: add_filter( 'generate_inside_post_meta_item_output', function( $output, $item ) { if ( 'categories' === $item ) { return ' | '; } if ( 'comments-link' === $item ) { return ' | '; } return $output; }, 50, 2 ); August 18, 2020 at 9:06 am #1408032 Claire Thank you, and how can I center the meta too (it’s on the left hand side at the moment) Can you see the meta? https://www.athomebeauty.co/diy-home-scents/ August 18, 2020 at 9:42 am #1408070 LeoStaff Customer Support Try this CSS: .entry-meta { text-align: center; } August 18, 2020 at 11:37 am #1408211 Claire Thank you. That worked. August 18, 2020 at 11:38 am #1408213 LeoStaff Customer Support No problem 🙂 Author Posts Viewing 10 posts - 1 through 10 (of 10 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In