Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter westwindstudios

    (@westwindstudios)

    I’ve just used it a second time and it’s amazing!

    I have had this same error on a new install, empty test site. Only shows on the plugin page. Any insights?

    thanks

    Thread Starter westwindstudios

    (@westwindstudios)

    The footer has come back, I don’t think I made a change in the settings so I’m perplexed. Maybe a caching issue. I will mark this as resolved. Sorry for any confusion.
    thanks,
    marc

    Thread Starter westwindstudios

    (@westwindstudios)

    The site is not public yet, but I did make a child theme of twenty twenty one and modified the footer.php. I’ll bet that has something to do with it.
    I’ll fiddle with it some more and if someone else has run into this maybe we can figure it out.
    Thanks for getting back so quickly.
    marc

    Rolled back Jetpack to 5.1 and visual editor and text widgets work again. Thanks for the tip!

    Thread Starter westwindstudios

    (@westwindstudios)

    Thanks for this, I believe I put it in the right place in the slideshow.js. I now get an error – slideshow is not defined.

    There was already a pause: 1 which I removed, same results with it too.
    I feel like there is one little thing I have wrong, but my knowledge of js is limited. (I’m working on increasing it)
    Thanks again for any ideas,

    Here is the bit from the top of the slideshow.js I have modified:

    var $j = jQuery.noConflict();
    
    $j(document).ready(function() {
    
    	// Get the slideshow options
    	var $slidespeed      = parseInt( meteorslidessettings.meteorslideshowspeed );
    	var $slidetimeout    = parseInt( meteorslidessettings.meteorslideshowduration );
    	var $slideheight     = parseInt( meteorslidessettings.meteorslideshowheight );
    	var $slidewidth      = parseInt( meteorslidessettings.meteorslideshowwidth );
    	var $slidetransition = meteorslidessettings.meteorslideshowtransition;
    	var toggle = jQuery('#toggle').click(function() {
    		var paused = slideshow.is(':paused');
    		slideshow.cycle(paused ? 'resume' : 'pause', true);
    	});
    	// Setup jQuery Cycle
        $j('.meteor-slides').cycle({
    		cleartypeNoBg: true,
    		fit:           1,
    		fx:            $slidetransition,
    		height:        $slideheight,
    		next:          '#meteor-next',
    		pager:         '#meteor-buttons',
    		pagerEvent:    'click',
    		prev:          '#meteor-prev',
    		slideExpr:     '.mslide',
    		speed:         $slidespeed,
    		timeout:       $slidetimeout,
    		width:         $slidewidth,
    		pause: true,
    		paused: function(cont, opts, byHover) {
    			!byHover && toggle.html('Resume');
    			jQuery('#status').html('paused');
    		},
    		resumed: function(cont, opts, byHover) {
    			!byHover && toggle.html('Pause');
    			jQuery('#status').html('running');
    		}
    	});

    Thread Starter westwindstudios

    (@westwindstudios)

    Thank you for your time,
    The site is not live yet so I realize it’s difficult for you to speak to this.
    Yes, I would like a pause button that switched to a play button when paused.
    I have looked at the pause-callback and other examples. I tried a number of ways to incorporate the script into a custom slideshow script to no avail. Also putting the button markup in a custom template. This would make sure the button is in the right div I presume.

    If I were to add the code from the example to the custom script where would it go? And I would like to not use the callback,

    Sorry if this is too vague but I appreciate any help you can offer.
    thank you,
    west

Viewing 7 replies - 1 through 7 (of 7 total)