Categories
Mastering Development

JQuery + Slick Slider and ACF for WordPress

I am trying to create a testimonial slider via WordPress using ACF repeater and slick slider. My results are showing in multiple rows instead of slider. i tried many ways but none seem to work and been stuck on this for days. Did i miss something essential in the entire process? How does one hide […]

Categories
Mastering Development

Page go to top when i click on next/prev button in gliderjs

i’m using glider Js plugin and whenever i click on next/prev button the page goes to top ,in jquery i added e.preventDefault and it worked but in this case i don’t know what to do .. here is the code: $(document).ready( function () { new Glider(document.querySelector(‘.glider-profil-service’),{ slidesToShow: 3.5, slidesToScroll: 1, draggable: true, dots: ‘.dots’, arrows: […]

Categories
Mastering Development

error when using slick slider on multiple elements

I’m trying to apply the Slick Slider plugin in my project. the plugin works ok when it’s applied to just 1 element. but when I try to apply it to more than 1 element, it only works for the 1st element in the script.. after that it returns an error _.$slides is null. Tarnjeet Singh […]

Categories
Mastering Development

Show two images at a time with slick slider?

Basically I’m trying to have two images displaying at once on the slider. See the screenshot for my current result. I want another image to the right of that. here’s my JS – I thought I just needed to add slidesToShow: 2; to get this to work? $(“.designs_slider_double”).slick({ autoplay: true, fade: true, arrows: false, dots: […]

Categories
CMS Magento Mastering Development

Adding slick carousel to Magento 2 homepage

I’m having an issue with what I think should be a basic thing but I’m obviously doing something wrong, all I want to do is have a basic banner slider using slick slider jquery plugin. I have a custom theme working fine and I’ve downloaded the slick.min.js to app/design/frontend/Pyxis/pyxistheme/web/js/slick.min.js I have then created the requirejs-config.js […]

Categories
CMS Mastering Development Wordpress

Slick slider for post doesn’t display anything

I want to make a testimonial slider with slick from https://kenwheeler.github.io/slick/. i use WP_Query for get the post with specific category. the slick works finde but it doesn’t show the content. This is my PHP code: <div class=” container”> <div id=”testimoni-carousel” class=’row testimoni-carousel’ dir=”rtl”> <?php $args = array( ‘post_type’=> ‘post’, ‘category_name’ => ‘komentar’ ); $query […]

Categories
CMS Mastering Development Wordpress

Slick slider for post doesn’t display anything

I want to make a testimonial slider with slick from https://kenwheeler.github.io/slick/. i use WP_Query for get the post with specific category. the slick works finde but it doesn’t show the content. This is my PHP code: <div class=” container”> <div id=”testimoni-carousel” class=’row testimoni-carousel’ dir=”rtl”> <?php $args = array( ‘post_type’=> ‘post’, ‘category_name’ => ‘komentar’ ); $query […]

Categories
CMS Mastering Development Wordpress

Slick slider for post doesn’t display anything

I want to make a testimonial slider with slick from https://kenwheeler.github.io/slick/. i use WP_Query for get the post with specific category. the slick works finde but it doesn’t show the content. This is my PHP code: <div class=” container”> <div id=”testimoni-carousel” class=’row testimoni-carousel’ dir=”rtl”> <?php $args = array( ‘post_type’=> ‘post’, ‘category_name’ => ‘komentar’ ); $query […]

Categories
CMS Mastering Development Wordpress

Slick slider for post doesn’t display anything

I want to make a testimonial slider with slick from https://kenwheeler.github.io/slick/. i use WP_Query for get the post with specific category. the slick works finde but it doesn’t show the content. This is my PHP code: <div class=” container”> <div id=”testimoni-carousel” class=’row testimoni-carousel’ dir=”rtl”> <?php $args = array( ‘post_type’=> ‘post’, ‘category_name’ => ‘komentar’ ); $query […]

Categories
CMS Development Wordpress

How to fix this error? “FATAL ERROR syntax error, unexpected ‘<', expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF) on line number 88"

I’m getting an error at the 88th line “FATAL ERROR syntax error, unexpected ‘<‘, expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF)” It broke my site, how can I fix it? (I’m new to coding) Thank you!! <?php /** * Related Products * * @see https://docs.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version […]