Support » Plugin: Events Manager - Events / Locations Slider » BX Slider Options in shortcode or hacked in plugin?

  • Resolved vshura

    (@vshura)


    Hi Patrick (@duisterdenhaag).

    Thanks for the app, great to have it for Events Manager and I’ve implemented it on my side.

    One question – if I want to implement more of the BX Slider options (listed here) can I just add them to the shortcode from your plugin, e.g.

    [events_slider scope="future" category="4" maxSlides="5"]

    or do I need to hack the plugin and change the settings there? I’m guessing it’s the latter because when I add in, for example, maxSlides=”5″, it doesn’t seem to have any effect.

    Thanks.

    • This topic was modified 1 year, 3 months ago by vshura.
    • This topic was modified 1 year, 3 months ago by vshura.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Hi @vshura,
    Thanks for using my add-on 🙂

    In theory you should be able to add any option that boxSlider offers. The only ones available in this plugin, are the ones currently in the settings.

    I did not (yet) implement the option to have multiple slides in one view, because then you also need to take responsiveness into consideration. 5 slides on a mobile will render it unreadable, for example. 😉

    Since I see many, many very basic html/css questions on the EM forum(s) regarding responsiveness, I did not want to “burn my fingers” by implementing too much that most simply are not able to use correctly. I hope you understand.

    That being said…
    Since the add-on is using boxSlider in its core, you should be able to add those options in the plugin code. Best to do that is in process_events_options().

    Please note that I will be releasing an update in the upcoming days, so any change will then be lost.

    Also, if you get any alterations to work, please tell me. I would love to have you think along.

    Thanks Patrick.

    That’s good to know, and I’ll wait till your next update comes out before doing any hacking.

    I also didn’t know that maxSlides is the setting for number of slides displayed at one time, it though it was the number of slides in the complete slideshow. Is there a setting for the number of slides in the whole show?

    And I’ll keep you updated of any useful hacks I end up with!

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    All content is controlled by EM. As the very first help text clearly states:
    “You can use the same arguments as in the [events_list] shortcode.”

    https://wp-events-plugin.com/documentation/event-search-attributes/

    [events_slider limit="5"]

    Ah great, thanks Patrick. That seems to have worked. And I’ll have a careful look through those attributes too.

    Sean.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘BX Slider Options in shortcode or hacked in plugin?’ is closed to new replies.