Can I use the same text for all captions?


Yes. There is no built-in setting for this but you can achieve this easily anyway. This is only for WordPress Media Library source, though.

  1. Go to the Captions tab > What text to show on the thumbnails or the Lightboxes tab > What text to show inside the lightbox section in the Shortcode Editor. The process is the same for both.
  2. Choose Custom field option for the desired caption location setting.
  3. Enter an arbitrary field name for the Caption custom field setting. Use a field name that doesn't exist yet.

Now, instead of actually setting the same value over and over again on your photos, let PHP simulate that by hijacking the value of this field. You are not even going to create this field. Just add this to the functions.php of your (child) theme:

Change your_field_name and Hello world! to your values.

This FAQ entry was posted in Advanced use on October 8, 2015