RPS Image Gallery
[resolved] Displaying captions (5 posts)

  1. Greenbergman
    Posted 3 years ago #

    How do I enable captions? Currently, the caption appears only when hovering over the thumbnail. I saw a reference in the FAQ to setting the caption attribute to 'true' and I see a line in the Edit Plugin window that reads "'caption' => 'false', // false = default". But below that window I see
    "You need to make this file writable before you can save your changes. See the Codex for more information."
    And I'm finding the Codex Changing File Permissions pretty unfathomable. Is there a simple way to do this?

    My blog is self-hosted. Theme is Twenty-Ten.

    Thank you.


  2. redpixelstudios
    Plugin Author

    Posted 3 years ago #

    You should be able to add the "caption=true" to the gallery shortcode in your post. You will need to edit your post and switch to the HTML/Text view to see it. The shortcode should look something like this:


    All you need to do is insert the caption argument into the gallery shortcode like so:

    [gallery caption=true]

    This will force captions to appear under the gallery thumbnail images. Let us know if we can be of further assistance.

  3. Greenbergman
    Posted 3 years ago #

    Thanks. I didn't realize it could be edited in the actual post (or page in this case) as opposed to editing the plug in.

    In the page I have under construction, I see [gallery ids="659,660,500,484,464"]. Do I add "caption=true" somewhere within the brackets? Between gallery and ids?

    Thanks again.

  4. redpixelstudios
    Plugin Author

    Posted 3 years ago #

    No problem. The nice thing about the shortcode arguments is that they can go in any order between the brackets. So in your example, you would update it to look like this:

    [gallery ids="659,660,500,484,464" caption="true"]

    You will note that we placed double-quotes around the boolean true. They are not required in most cases but it is safer to enclose your values.

    You may find the Gallery Shortcode manual in the WordPress Codex to be useful in discovering some of the other options that are available.

    We hope that this addresses your question sufficiently. Please let us know if not and we will do our best to clarify.

  5. Greenbergman
    Posted 3 years ago #

    Thanks -- that did it!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • RPS Image Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic