I have a post carousel widget where I have the following settings. The limit of posts is set to 12 by “posts_limit”, however in page this doesn’t work and there is a limitless scroll of as many posts as are available. Why does the carousel not limit itself to showing 12? Interestingly, if viewed in a visual editor, it does show a red number badge showing 12 as expected – just doesn’t do anything in practice. How do I ensure that only 12 are actually scrollable in the widget?
<!-- wp:sowb/siteorigin-widget-postcarousel-widget
{
"widgetClass":"SiteOrigin_Widget_PostCarousel_Widget",
"widgetData":{
"title":"Coming next",
"default_thumbnail":"",
"default_thumbnail_fallback":"",
"image_size":"sow-carousel-default",
"link_target":"same",
"carousel_settings":{
"loop":"on",
"arrows":"on",
"animation":"ease",
"animation_speed":"400",
"autoplay":"off",
"autoplay_pause_hover":false,
"timeout":"8000",
"so_field_container_state":"closed"
},
"posts":{
"post_type":["post"],
"post__in":"",
"tax_query":"",
"tax_query_relation":"OR",
"date_type":"specific",
"date_query":"",
"date_query_relative":"",
"orderby":"menu_order",
"order":"ASC",
"posts_per_page":"",
"posts_limit":"12",
"sticky":"",
"additional":""
},
(then of course the various other stuff which is all default)
Hi Mike
The Posts Limit setting is functional in our demo sites. If you’d like, I could take a look at the issue on your site and go from there.
Hi Andrew
Thanks for taking a look. The widget can be seen in this page.
Thanks for the link. The post count looks correct. The loading indicator that normally displays as new posts are being loaded is incorrectly showing. On my end, no new posts beyond the max count load. Does the issue occur if you create a test page and insert only the Post Carousel Widget with the same settings? I’m unfortunately not able to replicate the issue at the moment.