Archived topic
Reverse date, author, in byline
5 replies · Started by Chris on November 15, 2022
Hi,
Where would I reverse the date/author that is in the byline? I want author (comma), date
https://rev.press/how-to-register-for-subscribe-with-google/
Seems like there would be a setting for changing the byline, but I haven't found it,
Chris
Hi Chris,
Try this CSS:
.single-post .entry-meta {
display: flex;
flex-direction: row-reverse;
justify-content: flex-end;
}
.single-post .entry-meta .byline:after {
content: ", ";
padding-right: 0.3em;
}
I like that idea for readers, but would prefer to have the author name first in the source code as well.
Would editing the theme (child theme) be the only way to do that? There aren't any settings in Generate Press that would affect it?
Thanks,
Chris
I like that idea for readers, but would prefer to have the author name first in the source code as well.
I would recommend using a block element - post meta template, so you can create the layout using blocks.
Yes, excellent, thank you :)
You are welcome :)