0
votes
2answers
38 views

How to check if there is image title, caption, description?

I use this code to display featured image title, caption (excerpt), description (content): echo get_post(get_post_thumbnail_id())->post_title; echo ...
0
votes
1answer
46 views

Move caption in on attachment page

I am looking for a way to edit the way Wordpress’ native gallery displays images when clicked on. Specifically, I need to move the title below the image. A more detailed explanation: I setup a ...
0
votes
1answer
219 views

Display a post attachment depending on the caption

I would like to display automatically a post attachment (PDF) depending on the language of my blog (french and english). When the post is displaying in french version, I would like display the french ...
0
votes
2answers
5k views

Displaying an image's alt title and caption inside a fancybox window. Working, but showing the same alt and caption for each image

I've been at this for hours so maybe someone here can help :) Basically I have a fancybox gallery that loads images attached to a post. As you can see below, I want to echo either the image's caption ...
0
votes
1answer
241 views

add image caption

I would like to add caption to a image I just uploaded through a from. So I have the attachment id and the caption text in a variable. I found wp_update_attachment_metadata in wordpress codex .. but ...
2
votes
1answer
160 views

Multi-line captions on attachments

How can I change the 'Caption' text input to text area, to allow for multi line captions on media uploads?
5
votes
2answers
776 views

Are captions stored anywhere?

In regards to my previous question about shortcode captions, it doesn't appear to me that the actual text of a caption is stored anywhere other than in the post content within the shortcode itself. I ...
0
votes
1answer
780 views

How to display a shortcode caption somewhere other than the_content

I want to disable shortcode captions for posts in one of my themes, and display the content elsewhere, such as in a sidebar. The images aren't uploaded to wordpress, but they're linked-to using the ...