Dynamic Slider issues

Hi guys!

I have 2 issues that i’d like you to help me with regarding themeco sliders. i have created a CPT with ACF that contains 54 entries.

I wanted to create a slider with 2 rows of slides and wanted them to display the 54 entries one in one way and the other in reverse (so one would go forward while the other would go backwards).

  1. I think i can’t do this with one slider but 2, right?
  2. By default i can only see 10 elements and not all of them. i know i can set the count to 54 but if my client adds more entries in the future, they will still only show 54. what setting

you can see the situation better here in this video: https://www.loom.com/share/c5f17c61b0554c7eadd96d397d637fe5

it seems the query builder has this “limitation” where “default” means “10” entries and not “all”. and in the “count” option of the provider, i have to set a very specific number. i know i can work around this by adding something like 9999999 but i was wondering if this was actually expected or if i was doing something wrong instead?

Hey @franticape,

Thanks for reaching out!

The default number is set in Settings > Readings.

or instead of using Query Builder, you can use Query String.

post_type=cliente&posts_per_page=-1&orderby=date&order=ASC

Here’s a breakdown of the code:

  1. post_type : Specifies the custom post type you are querying. Replace 'cliente' with the name of your custom post type.
  2. posts_per_page : -1 means retrieve all posts. You can change this to a specific number if needed.
  3. orderby : Orders the posts by date.
  4. order : Specifies the order direction as ascending ( ASC ).

Hope that helps.

Thx for letting me know the default is the one on the WP settings!

You are most welcome @franticape

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.