Support » Plugin: MetaSlider » Stopped working

  • Resolved Jason Chong

    (@dantianhealth)


    For some reason, metaslider has stopped working on my home page. It works if I add to any inner page but no the home page. I made no changes which would create this but have tested disabling other plugins with no luck. The only difference I can tell is that my front page is widgetised and thus the slider is contained within a widget. Any ideas?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor kbatdorf

    (@kbat82)

    Hi,

    Can you confirm the plugin is activated?

    There also might be some extra text in the widget. I can see a <center> element there which can be removed (it’s obsolete anyway).

    Hi. Yes I can confirm it is still activated. I removed the center tag but it doesn’t make a difference. I’m a bit stumped !

    Plugin Contributor kbatdorf

    (@kbat82)

    Hi @dantianhealth

    Can you try two things?

    1. Test the slideshow works by clicking on “preview” from the slideshow settings page

    2. Add the shortcode to a normal page.

    If both of these work then it means that some code is instructing that widget not to use standard WP filters to handle shortcodes.

    You can also confirm this by adding a different (non-MetaSlider) shortcode in there and see if it is processed.

    Hi,
    Thanks. I tracked it down to the shortcode no longer working in a custom HTML widget (it was before!). By loading the shortcode in a text widget it is working again!

    Plugin Contributor kbatdorf

    (@kbat82)

    Hi @dantianhealth

    By default I believe WP doesn’t render shortcodes in HTML widgets. You have to enable them in the code. If it’s working now for you though I would leave things alone. For anyone else ending up here, the filter is as follows:

    add_filter( 'widget_text', 'do_shortcode' );

    I’ll mark this issue as resolved, but feel free to follow up if needed.

    By the way, if you’re enjoying MetaSlider please leave us a 5-star review. They really help us out and let others find our plugin more easily. If you don’t think we deserve the 5 stars please let us know how we can improve, too. Thanks!

    https://wordpress.org/support/plugin/ml-slider/reviews/?rate=5#new-post

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.