Okay
  Public Ticket #607734
salient slider shows all slides on home
Closed

Comments

  • ilja started the conversation

    Hi guys!

    I have 2 nectar sliders on my home page: www.startuplogo.nl. Top one contains 2 slides. Bottom one just 1 slide. They both show all the slides.
    The slugs in the Slider Location are correct. Also the Nectar Slider Settings > Select Slider is correct.

    Weird thing is, it was all fine before. Maybe there was an update? Can you help me out?


    Regards,

    Ilja

  •  8,992
    Tahir replied

    Hey ,

    Please update the theme and plugins by following this guide: https://themenectar.ticksy.com/article/3218/ .

    Theme version 6.1.71 has the WP 4.4 and Nectar Slider Fix .

    See changelog: http://themenectar.com/changelogs/salient.html .

    Thanks


    ThemeNectar Support Team 

  • Colleen replied

    Same problem happened to me to. Are there specific files in salient we need to upload? Installing the whole salient theme and plugins is a lot to re-install, if it\'s only a couple files.

  •  8,992
    Tahir replied

    Hey Again,

    You just need to replace the Salient Theme folder via FTP and that should work .

    Best.


    ThemeNectar Support Team 

  • ilja replied

    It\'s fixed!

    Thanks for the quick support.

  • Thomas replied

    Hi - I am using a child theme - are you able to let me know what needs to be replaced - i tried to just replace the nectar folder, but that gave me some php errors... 

  •  8,992
    Tahir replied

    In functions.php replace this...

    $slides = new WP_Query( array( 'post_type' => 'nectar_slider', 'slider-locations' => $slider_terms->slug, 'posts_per_page' => -1, 'order' => 'ASC', 'orderby' => 'menu_order' ) );

    With this...

    $slides = new WP_Query( array( 'post_type' => 'nectar_slider', 'tax_query' => array( array( 'taxonomy' => 'slider-locations', 'field' => 'slug', 'terms' => $slider_terms->slug ) ), 'posts_per_page' => -1, 'order' => 'ASC', 'orderby' => 'menu_order' ) );

    Best.


    ThemeNectar Support Team