• I have several carousels created and added to a page using shortcodes. They worked fine until the latest update. No errors in the debug or error logs.

    [update] I noticed there is an error in the browser console:

    “Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters”

    There are definitely enough posts in the categories.

    • This topic was modified 9 months, 3 weeks ago by atkulp.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter atkulp

    (@atkulp)

    At this time the plugin is not usable at all. I’ve tried categories, latest, tags, and the results are wrong. The query is just broken.

    I just noticed that the query is hard-coded for post type of “post”. I use several custom post types so that would explain 0 rows being returned. Can that be changed to either remove it or let it be set?

    SELECT?wp_posts.ID
    FROM?wp_posts
    LEFT?JOIN?wp_term_relationships
    ON?(wp_posts.ID = wp_term_relationships.object_id)
    WHERE?1=1
    AND?( wp_term_relationships.term_taxonomy_id?IN?(238) )
    AND?wp_posts.post_type = ‘post’ <<<<<<<
    AND?((wp_posts.post_status = ‘publish’))
    GROUP?BY?wp_posts.ID
    ORDER?BY?wp_posts.ID?DESC
    LIMIT?0, 1

    It would also be great to have some settings around how the post content is displayed. For example, toggle metadata. Maybe even easier would just be a full, condensed, and tight version to choose from.

    Same issue here, since the update to version 2.2.7. Plugin works OK on mobile devices. On windows PC’s the sliders don’t show in chrome browsers. On windows PC’s the sliders show in Edge browsers as one big pixelized image.

    Thread Starter atkulp

    (@atkulp)

    @ploinkie I don’t think this is the same issue since it doesn’t work anywhere for me and I’ve determined it’s because it only looks for post_type of “post”. Not sure that it matters since I never got a response… It might be better to open a separate ticket.

    Just to help anyone else out, I found three places to make updates (in v2.2.8).:

    • wp-content/plugins/carousel-slider/includes/Supports/FormFields/SelectPosts.php:18
    • wp-content/plugins/carousel-slider/modules/PostCarousel/Helper.php:31
    • wp-content/plugins/carousel-slider/modules/PostCarousel/Template.php:96

    On each file:line above, there’s an associative array setting a value for ‘post_type’. Either change from:

    'post_type' => 'post' # or whatever your desired type

    Or, for multiple types, set a new array:

    'post_type' => array('post', 'page', 'whatever') # Replace these three array items with whatever you need

    • This reply was modified 9 months ago by atkulp. Reason: added fixes
    Thread Starter atkulp

    (@atkulp)

    This continues to be an issue even with 2.2.8. Can you please consider supporting different post types?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘All carousels stopped working with latest update’ is closed to new replies.