• Hi,

    First of all, I really like the plugin!
    I have one theme in which the slideshow causes problem ONLY on the first page. I’v been searching for the problem for days now (also here) and I’m unable to trace the cause. On all the pages the slider shows in the footer as it should. I’ve found the template page which is used for that page, but found noting strange in there.
    HOWEVER: the them (Pinboard) has it’s own slider which displays sticky posts on the firt page (ONLY this page, so there is the cause I think).

    I’ve tried deleting all parts in Functions.php which have something to do with the original slider. I also remove the part in the template that displays it.

    I’ve changed everything back to original now (I probably remove more then I needed to). Hopefully someone spots the code in the source that is causing the problem.

    NOTE: I don’t need the original slider!!!!

    The link: http://www.kleen.nl/standaard3

    Regards,
    Roel

    https://wordpress.org/plugins/slideshow-jquery-image-gallery/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Stefan Boonstra

    (@stefanboonstra)

    Hi Roel,

    The problem doesn’t seem to be caused by your theme’s default slider, but rather by a custom piece of code that’s placed in the header of your website. In your theme’s or child-theme’s “header.php” file, you may be able to find the following code:

    var $content = $('.entries');
    $content.imagesLoaded(function() {
    	$content.masonry({
    		itemSelector : '.post',
    		columnWidth : function( containerWidth ) {
    			return containerWidth / 12;
    		},
    	});
    });

    Removing it should solve your problem.

    Best regards,
    Stefan

    Thread Starter Alfa1750

    (@alfa1750)

    Wow Stefan, you’re a hero!

    I removed the piece of code from the theme’s functions.php and the slider worked on the front page!

    When I looked at that piece of code I figured it might have something to do with the theme’s option to open images in a lightbox.
    I’ve put back the piece of code to functions.php and unchecked the option to open images in a lightbox……… voilá: slider appeared again!

    Still don’t know why it is only causing this problem on the frontpage, but honestly I don’t care. I’m now using a plugin for opening images in a lightbox and it doesn’t mess up the slider!

    Why oh why am I so stubborn to spend houres trying to solve the problem myself instead of posting a thread here…….

    Thanks for the quick solve!
    Roel

    Plugin Author Stefan Boonstra

    (@stefanboonstra)

    I’m glad the issue is resolved, Roel!

    The problem only occurred on the front page, because that was the only place the piece of code was loaded.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Slideshow only not showing on first page (with theme slider option)’ is closed to new replies.