Edit Image.php to Display Text Only From Certain Date
I need some help coming up with a code snippet that I could insert into the image.php file so that a certain text will display below the image if the image was uploaded after a certain date.
In pseudocode, this is what I want:
If (image was posted before March 1, 2008)
print below image: “This is my text”
I don’t know the WordPress codex well enough to figure it out on my own. Any help much appreciated!!!!
- The topic ‘Edit Image.php to Display Text Only From Certain Date’ is closed to new replies.