Viewing 9 replies - 1 through 9 (of 9 total)
  • [email protected]

    (@karenmichaudgmailcom)

    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

    -Karen…

    Thread Starter lottiejam

    (@lottiejam)

    Thanks Karen, real useful – I’ll defo implement this.

    Karen,

    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 https://www.friendsofria.org.

    Thanks!

    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.

    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 ??

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

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

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

    okey thanks Nevins..

    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.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Lugada slider’ is closed to new replies.