WP SITES

3095 Coded Tutorials & 297 Plugins

Add Variable Content Before & After The Post Date

This code enables you to add different content to display before and/or after the post date on each post date in the entry header.

Here’s a example showing the text before date & after date.

The variable content can be added on any/all Edit Post screens using custom fields like this :

All you need to do is add the code from the functions file in the download folder to the end of your child themes functions file.

Note : Modification of PHP code is included for registered users.

Register or login to access the code in the download folder.

Related Code Snippets

Was this helpful?

Yes
No
Thanks for your feedback!

Leave a Reply