How to swap the post title and date in P2

wordpress-iconI’ve just posted this tweak in the WordPress P2 forum to help a user and thought I’d add it here too before I forget what I did.

To swap the post title and date in P2 we’ll first grab a reference to each element, then we move one up and the other down.

Like so:

Note that the date line does not have a selector for the author, so it’s difficult to remove it if that’s required. You can remove the entire line though (#main h4).

Add padding where appropriate.

About Jay Versluis

Jay is a medical miracle known as Super Survivor. He runs several YouTube channels and websites, and he's also live on Twitch sometimes. To support him on his mission to make the world a better place, you can support him on Patreon or buy him a coffee.

1 thought on “How to swap the post title and date in P2

Add your voice!