• Resolved maprado

    (@maprado)


    Hi there!

    PinBoard theme is fantastic but I am having some problem. I have added a slideshow (easing slider lite plugin on the php. header) on the front page and it looks great. However, when I am opening another page (ex. contact us) the slideshow appears too.
    question – How can I stop the slideshow appearing on other pages but front page.
    My blog is https://www.creativedesire.net
    cheers
    Marcelo

Viewing 9 replies - 1 through 9 (of 9 total)
  • Yes! The easiest way to do this would be with a conditional php tag that loads the script only on the front page
    If Is Front Page

    Thread Starter maprado

    (@maprado)

    Hi mikeyarce

    thanks for your quick response but I am a newbie and not familiar with php. I have check the link you sent and where exactly should I input the tag <?php is_front_page(); ?>. I tried to add to php. header under the easing slider lite plugin tag but it did not work.

    thanks for your help.

    Here’s an example:

    <?php if(is_front_page() ) { ?>
    
    // Your slider code here
    
    <?php } ?>

    When wrapping any code in the “if is front page” php code, it only displays on the front page.

    Thread Starter maprado

    (@maprado)

    thanks again. I need to take a course on php ??
    I have added the following:
    <?php if (is_front_page() ) { ?>// ( function_exists( “easingsliderlite” ) ) { easingsliderlite(); } ?><?php } ?>

    and it did not work.

    could you advise please.

    thanks

    Thread Starter maprado

    (@maprado)

    hi again
    it worked
    I added:
    <?php if(is_front_page() ) { ?>// <?php if ( function_exists( “easingsliderlite” ) ) { easingsliderlite(); } ?><?php } ?>

    many thanks for your help!!

    Thread Starter maprado

    (@maprado)

    Hi mikeyarce

    I have another small problem, there is a gap between the slideshow and the menu bar. I checked other posters and tried adding this code ‘margin-top: -13px;’ in the slideshow element but it did not work.
    would you be able to assist?
    https://www.creativedesire.net
    many thanks

    remove the // from your code – that was just meant to be a comment.

    Thread Starter maprado

    (@maprado)

    man you are a star!!
    all the best….

    thanks ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘PinBoard, open page without slideshow’ is closed to new replies.