How can I display the Post Date in specific post titles?
-
What I want to do is to have <?php the_time() ?> in the actual post title outside of the loop. I don’t want this to be used on all posts, only those in a certain category so I don’t want to insert that into the template but into the actual title of the post.
I am using php-exec and that allows me to load php code in the excerpt and in the body of posts but for whatever reason it doesn’t allow the same to be run from the title of post.
This is the last piece of a huge puzzle i’ve solved for one of my blogs so I would really REALLY appreciate any ideas or solutions you can throw forward.
Thanks in advance!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How can I display the Post Date in specific post titles?’ is closed to new replies.