• I have a custom archive page that I am using to display filtered custom media taxonomies. I’m looking for a way to add the media caption under the images. I’m working on a closed dev server so I cannot link to my page unfortunately.

    I found this WordPress for beginners article that got me halfway there. It has added the media captions however they are currently displaying to the right of my media and I want them underneath. Unfortunately they aren’t wrapped in any tags nor do they seem to have id or class declarations that I can target.

    How do I get them to appear under the media?

    I have my archive-2.php code here. Line 37 & 38 have the snippet of added code that displays the captions.

    Unfortunately my work blocks pastebin and other similar website so I cannot use those to post my code. Hopefully code pen is ok?

    Thank you in advance for any help that can be provided.

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add Image captions to Archive Page’ is closed to new replies.