Change Image posts to show title
-
On my homepage, where all the post images are displayed, the posts that are in the “Image” format, have no words connected to them, when I move the mouse over them, it says “View.” I would like to change “View” so that it says the title of the post instead.
EDIT: RESOLVED
Hallelujah! I figured it out. I have already created a child theme, so I copied the content-image.php into my child theme folder. Then I changed line 13 as shown below:
used to be: <p class=”view”><?php _e(‘View’,’fukasawa’); ?> →</p> now reads: <p class=”view”><?php the_title(); ?> →</p>
This is wonderful. I hope I didn’t mess anything else up!
The topic ‘Change Image posts to show title’ is closed to new replies.
