• Resolved aosipov

    (@aosipov)


    On Category Slider I want to figure out if it’s possible to adjust number of slides on mobile vs desktop. For example i can have 5 on desktop and want to be able to have 2 on mobile. Currently it shows me only one!

    • This topic was modified 3 years, 8 months ago by aosipov.
    • This topic was modified 3 years, 8 months ago by aosipov.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Ketan Patel

    (@patelketan)

    Hello,

    Thanks for reaching here.

    Sorry for the inconvenience, This functionality not available in the plugin version.

    Please follow the temporary solution.

    Please go to wp-content -> plugins -> post-category-image-with-grid-and-slider -> assert -> js -> pciwgas-public.js line no 214 and 222.
    Please change the below code.
    slidesToShow: 2,

    Note:- If you update the plugin in a feature then your changed core plugin file change will be lost.

    Please check and let me know if you have anything else.

    Thanks,

    Thread Starter aosipov

    (@aosipov)

    Hi Ketan this will change only for mobile? and is Pro version has this feature?

    Plugin Contributor Ketan Patel

    (@patelketan)

    Hello,

    Sorry for the inconvenience, this functionality not available free and pro version. we will check and update this functionality very soon.

    Thanks,

    Thread Starter aosipov

    (@aosipov)

    Thank you @patelketan! That was helpful, i was wondering if i am using Advanced Custom Field plugin, and displaying title as
    get_field('my_field_name');
    How i display it here:
    `<?php if( $show_title && $category->name ) { ?>
    <a href=”<?php echo $term_link; ?>”><?php echo $category->name; ?>`

    I tried everything – doesn’t work

    Thank you in advance
    Alex

    Plugin Contributor Ketan Patel

    (@patelketan)

    Hello,

    Thanks for reaching here.

    Please go to wp-content -> plugins -> post-category-image-with-grid-and-slider -> includes -> shortcode -> pciwgas-grid.php file line number 102 to 104.
    Please replace this code for the 102 to 104 lines.

    <a href="<?php echo $term_link; ?>"><?php echo get_field('your field slug here', 'category_'.$category->term_id); ?></a>

    Please check and let me know if you have anything else.

    Thanks,

    Thread Starter aosipov

    (@aosipov)

    Oh man Thank you so much!!! Saved me:)

    Alex

    Plugin Contributor Ketan Patel

    (@patelketan)

    Hello

    If you like our plugin please share rate and review it here.

    Thanks,

    Thread Starter aosipov

    (@aosipov)

    Hi Ketan
    I am testing with desktop, no luck! No scroll:(((

    The page I need help with: https://ifoodreal.com/page-for-testing/

    Plugin Contributor Ketan Patel

    (@patelketan)

    Hello,

    Thanks for reaching us…

    Please try the “slidestoshow” parameter in your shortcode.
    [pci-cat-slider slidestoshow="3"]

    Please check and let me know if you have anything else.

    Thanks,

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Two or more posts on mobile – responsive’ is closed to new replies.