Skip Navigation

[Resolved] Featured Slider has an extra blank slide

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 1 voice.

Last updated by ChuckGregory 2 weeks, 3 days ago.

Assisted by: Christopher Amirian.

Author
Posts
#2794857
Party-Digest-01-31-2025_06_59_AM.png
Party-Digest-01-31-2025_06_55_AM.png

Tell us what you are trying to do? display posts in a slider

Is there any documentation that you are following? this is an old site; i followed docs years ago to create the slider

Is there a similar example that we can see?

What is the link to your site? partydigest.com

Discussion:
The slider is supposed to show posts in the category 'featured'
Currently i have 8 posts in featured but the slider doesn't loop back to the beginning until after the 9th slide
The code for the loop is:
===
[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<wpv-loop>
<div class="slide">
[wpv-post-body view_template="Featured Slider - slide"]
<span class="prev_arrow">[wpv-pager-prev-page force="true"][wpml-string context="wpv-views"]<[/wpml-string][/wpv-pager-prev-page]</span>
<span class="next_arrow">[wpv-pager-next-page force="true"][wpml-string context="wpv-views"]>[/wpml-string][/wpv-pager-next-page]</span>
</div>
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-layout-end]
===
I removed the [no items found] section because instead of a blank slide it was showing a 'no items found'
But what it should do is skip ahead to the first slide

I appreciate any advice you may have.

#2795027

Christopher Amirian
Supporter

Languages: English (English )

Hi,

Welcome to Toolset suport

Please check the documentation below to know if you added the code of the slider correctly:

https://toolset.com/documentation/legacy-features/views-plugin/creating-sliders-with-types-and-views/

Also check the pagination options and make sure it is set as mentioned below:

https://toolset.com/documentation/legacy-features/views-plugin/views-pagination/

I would recreate the slider using the steps mentioned above in a new view and test to see if it works.

Finally, make sure you have the updated version of Toolset plugins:

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Go to "WordPress Dashboard > Plugins > Add new > Commercial (tab)".
- Click the "Check for Updates" button.
- Update Toolset and its addons there.

Thanks.

#2795049

Thank you, Christopher, for your response.

I had read all that documentation again before contacting you. I tried creating a similar slider on a staging copy of the site. I set the featured category on three posts and my test slider showed two! In the new slider, the final slide is skipped entirely.

Back on the live site, the slider seems to have repaired itself. So I suppose I should close the ticket. These are weird anomalies, though, and I'd feel more comfortable if I understood them.

Thanks.