Reply To: Using Slick Slider to display slider with own content

Home Forums Product Support Forums Related Posts Pro for WordPress Support Using Slick Slider to display slider with own content Reply To: Using Slick Slider to display slider with own content

#13438

Ernest Marcinko
Keymaster

Hi Thomas,

Thank you very much for your kind words!

The slick slider script is heavily modified and bundled into the plugin scripts, but I believe you should be able to access it as:

jQuery(function($){
  $('.your-class').slick({
    setting-name: setting-value
  });
});

The other code is the related posts plugin code, which only works with the exact HTML structure outputted by the related posts pro shortcode, and other information is needed as well.

It's been a while since I played around with the slick slider source code, but I think you will still need some of their CSS files to get the correct element positions and flow, otherwise it may not work at all. The default styling bundled with the slick script is mostly removed and the rest is changed to fit only the related posts pro data structures, so that won't apply to other elements.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)