WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Displaying captions

[Resolved] Displaying captions

  • 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.

    http://wordpress.org/extend/plugins/rps-image-gallery/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author redpixelstudios

    @redpixelstudios

    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:

    [gallery]

    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.

    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.

    Plugin Author redpixelstudios

    @redpixelstudios

    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.

    Thanks — that did it!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Displaying captions’ is closed to new replies.