Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Poocharo,

    It seems possible, but you’ll need some development experience to do this. Here is some (untested) code to get you started. You’ll need to add this to your themes functions.php file

    function metaslider_flex_params($options, $slider_id) {
        if ($slider_id == 123) { // check for slider ID (optional)
            $options['pausePlay'] = "true"; // enable pause/play
            $options['pauseText'] = "'Pause'";
            $options['playText'] = "'Play'";
        }
        return $options;
    }
    add_filter('metaslider_flex_slider_parameters', 'metaslider_flex_params', 10, 2);

    We only usually cover bugs as part of free support, rather than custom feature requests. If you need further help please consider upgrading to a pro license ??

    Regards,
    Tom.

    Thread Starter Poocharo

    (@poocharo)

    Hi thanks for the response – I have upgraded, pasted the above code in the functions.php and don’t see any changes to the slideshow.
    Please advise,
    Thanks

    Hi,

    Thanks for upgrading ??

    I checked the code and it seems to be OK.

    When you paste the code in, please could you check the single and double quotes are not being converted to curly quotes?

    PS I do not check the free support forums as often as I do our ticketing system (for pro customers) so please feel free to get in touch using the form here: https://www.metaslider.com/support.

    Regards,
    Tom.

    Hi Tom,

    just wanted to mention that the above code worked for me.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Meta Slider play/pause button’ is closed to new replies.