Add filter to NewRoyalSliderGallery::getImageTab $output

TOKY's Avatar


01 Nov, 2013 04:27 PM

It would be useful to be able to add more fields to the modal image tab, in conjunction with this:

This way we could add our own custom fields to image slides.

It would be as simple as:

$output = apply_filters('rs_get_image_tab', $output, $slide_data, $image_src);

Thank you.

  1. Support Staff 1 Posted by Dmitry Semenov on 01 Nov, 2013 08:53 PM

    Dmitry Semenov's Avatar


    Thank you for suggestion, I was thinking about implementing it.

    For now, a good solution might be to override with RoyalSlider default WordPress [gallery] shortcode. As the source for this slider type is Attachment Image, you may add custom fields to it


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac