My client doesn’t want the date on all posts/pages, so I’m trying to figure out a way to use this plug-in.
Where am I going wrong . . . ?
I created two shortcodes: the first is an “advanced” type using PHP code and all I have is simply this: the_date(‘F j, Y’) in the PHP area. The shortcode is pd
Then the other is a simple snippet that has this in the ShortCode template:
Posted on [pd].
And the shortcode for that one is pod.
So, I would expect that anywhere in my post that I put [pod] I should get “Posted on (the actual date the post was published).”
- The topic ‘Adding Post Date to some posts’ is closed to new replies.