Home › Forums › Support › How to change the format of the Entry Meta – Author and Date This topic has 8 replies, 5 voices, and was last updated 4 years, 10 months ago by Leo. Viewing 9 posts - 1 through 9 (of 9 total) Author Posts January 13, 2017 at 5:11 pm #263904 Paul Hi There, I would like to change the Entry Meta format from: [Date] by [Name] to By [Name] | [Date] Just wondering how to change it. Thanks so much. January 13, 2017 at 7:53 pm #263928 TomLead Developer Lead Developer Hi Paul, Adding this function should do it: https://gist.github.com/generatepress/5f7fd18cb77f13894223a8fe5bd74bc1 Adding PHP: https://docs.generatepress.com/article/adding-php/ June 20, 2019 at 7:12 am #935929 webcréateur Hi there, Is there meanwhile a more recent workflow for this requirement? Regards. June 20, 2019 at 7:19 am #935942 webcréateur … with the new Post Meta Ordering? add_filter( 'generate_header_entry_meta_items', function() { return array( 'date', 'author', 'categories', ); } ); June 20, 2019 at 7:50 am #935980 DavidStaff Customer Support Hi there, yes the new post meta ordering makes this function much easier and is the best way to do it now. June 20, 2019 at 8:13 am #936013 webcréateur Hi there, Thank you, but how can I add the seperator in Filter ? 🙂 Date | Author | Category June 20, 2019 at 8:54 am #936085 LeoStaff Customer Support That would need to done with CSS: .cat-links, .posted-on { border-left: 1px solid #000; padding-left: 5px; } Adding CSS: https://docs.generatepress.com/article/adding-css/ June 20, 2019 at 12:42 pm #936280 webcréateur Thank you. I used this CSS: .author:before { content: " | " !important; } June 20, 2019 at 12:55 pm #936293 LeoStaff Customer Support That would work too 🙂 Author Posts Viewing 9 posts - 1 through 9 (of 9 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In