Is it possible to replace the caption text of an image with its title and description fields when inserting it in the editor? If so, how?

Thanks in advance

  • Hi user1991185, could you provide more details on what you've tried already (and why it didn't work)?
    – kraftner
    Dec 15 '15 at 10:51
  • I tried using the 'img_caption_shortcode' filter with no success.
    – leemon
    Dec 15 '15 at 18:46

Unles I misunderstand the question, you can switch to the text editor after inserting the image and then manually edit the caption to put whatever you want in there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.