• Resolved simbian

    (@simbian)


    Hello, i have followed this topic https://www.ads-software.com/support/topic/getting-simple-lightbox-working-with-featured-image/ to get Simple Lightbox Working With Featured Image, i have added your code provided in the doc to the index.php file of the theme im currently using (Author theme) just after the loop

    if ( have_posts() ) : 
        while ( have_posts() ) : the_post(); 
            // Display post content
        endwhile; 
    endif; 

    But this has no effects.
    I have also disabled plugins that could interfere and apply some kind of image optimizations (Jetpack, Litespeed Cache, Smush, WP-Optimize) but still no luck.
    SLB settings are set to default.
    Do i miss something else?

    Thanks in advice.

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

Viewing 1 replies (of 1 total)
  • Plugin Author Archetyped

    (@archetyped)

    Hi, the code example you provided does not match SLB’s documentation on displaying the featured image in a lightbox and actually does not do anything at all.

    Also, as noted in the documentation, the code should be inside the loop, not after.

    The correct theme file to place the featured image code in can vary greatly from theme to theme. As such, if you are experiencing an issue, contacting the theme’s developer for details on where to add the code is highly recommended.

    If you are still experiencing an issue after resolving the above notes, please provide the following details and I would be glad to reopen this ticket and take another look.

    • Full code of modified theme template file
    • Updated link to specific page that exhibits issue (not just a link to the home page).

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Getting Simple Lightbox Working With Featured Image’ is closed to new replies.