Change default template

Nick's Avatar

Nick

12 Jul, 2017 11:43 AM

First of all, fantastic plugin, really what we were looking for.

However we would like to standardize the slider options.
We already filled in the standard flckr api, but we would also like to change the default template.
Standard it is horizontal content slider, but we would like it to be Image Gallery, so that there's no need to select it each time we upload a gallery.

We've been going through the code but sadly the only option so far was to remove all other templates which is overkill, and we might want to use another format in the future too...

Also, we would like to change the sliders in the table to be descending (9->1) instead of ascending, the most recent one on top.

Any advice would be welcome on this.

thank you

  1. Support Staff 1 Posted by Dmitry Semenov on 12 Jul, 2017 02:57 PM

    Dmitry Semenov's Avatar

    Hello,

    There are no such options, you can globally override only default [gallery] http://help.dimsemenov.com/kb/wordpress-royalslider-tutorials/wp-cr... , but not custom or third-party (Flickr, 500px, Instagram) slideshows, as they're cached separately.

    If you have some JS/PHP coding knowledge, you may override init code globally, as shown here https://gist.github.com/dimsemenov/979eced23ca97cf666b6a4f8359d466a, JS initialization options you can find in docs of non-WordPress version http://dimsemenov.com/plugins/royal-slider/documentation/#options

  2. 2 Posted by Nick on 13 Jul, 2017 06:51 PM

    Nick's Avatar

    I have a bit of knowledge but by far not enough to not break the plugin.
    I was hoping for a default option in the NewRoyalSliderOptions.php file, I tried removing the templates there I didn't need but it just keeps reverting to the standard so.

    best leave it as it is.

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

Generic

? 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