Lugada slider (10 posts)

  1. lottiejam
    Posted 4 years ago #

    Is there any reason why the slider does"t work on the static home page? Also the social icons don't display any ideas?


  2. karen.michaud@gmail.com
    Posted 4 years ago #

    Hi Lottiejam,

    I have just solved the same issue for a website i was working on... the slider was not loading regardless of the fact i filled in the required URL's

    after a number of tests and messing with the base code of the theme, i determined my main issue was with the "if" statement at the bottom of the header page... i adjusted that statement to include one of the pages i was actually using for the "home" page, i.e. removed the archive option... and it worked... the way i tested if this was the issue was to remove the IF statement completely...

    ( is_home() || is_front_page() ) )

    you may try and do the same or have to modify...

    you are welcome to ask quesiton if you like or send me info on your site and ill see if i can help..

    good luck


  3. lottiejam
    Posted 4 years ago #

    Thanks Karen, real useful - I'll defo implement this.

  4. Treadhouse
    Posted 4 years ago #


    I'm having similar trouble. I can't get the slider to show up on my homepage, only on my 'posts' page.

    I don't know PHP, really, but have been trying to feel my way through it. Your suggestion has been among the most helpful. I think I have the right line of code that I need to edit, do you mind helping me understand what edits I need to make to get the site to recognize the home page. The line currently reads:

    <?php if (is_home() || is_archive() ) : ?>

    The site is http://www.friendsofria.org.


  5. newinca
    Posted 3 years ago #

    Karen, the social icons only seem to display below posts. They dont (as far as I have been able to tell) appear on any pages.

  6. jkbaseer
    Posted 3 years ago #

    hi karen and lottiejam

    I guess, the line you insisted to change is
    <?php if (is_home() || is_archive() ) : ?> (from header.php)

    Can you please say what should i change here?

    thanks :)

  7. jkbaseer
    Posted 3 years ago #

    Only my first image is displaying in static... Next images are not displaying..

  8. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    You're more likely to receive help if you create your own thread on the issue.

  9. jkbaseer
    Posted 3 years ago #

    okey thanks Nevins..

  10. jcasmen
    Posted 3 years ago #

    From the is_home Lugada function documentation:

    If you set a static page for the front page of your site, this function will return true only on the page you set as the "Posts page".

    If you, as me, have chosen a static page as home page, is_home() is returning "false". Changing is_home by is_front_page at the end of header.php file makes slider appear at my static homepage. By the moment images do not display, but this issue seems unrelated.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic