Skip Navigation

[Resolved] displaying a slider (with filters)

This thread is resolved. Here is a description of the problem and solution.

Problem:

Views outputs "no items found" using option option "Skip first 5 items".

Solution:

Use option "Skip first none items"

Since there are no more 5 featured items, so Views will output "no items found" if you use option "Skip first 5 items".

Relevant Documentation:

This support ticket is created 6 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by ericW-5 6 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#915399

Hi,

I am building a job site with candidates and recruiters.

I am trying to display featured resumes on a page, ideally a slider showing 3 featured resumes at a time. But let’s try to display only 1 featured resume at a time as a start... and we will then improve to 3 resumes if that works.

Candidates can register and then create a resume through this form :
hidden link

within this form candidates have the choice to have their resume displayed as “featured” or not. I have a custom field called “featured-cv” here :
hidden link

I created a view to build the slider :
hidden link

I also created a page to display the view
hidden link

I manage to display the slider when I want to show all ‘candidature’ posts. But when I am trying to add a filter to only show candidatures posts with “featured-cv” checked this does not give any results and says : “no items found” (I tried to set up the filter as a string matching “oui” or as a number matching “1”).

This is strange as I have several “candidature” posts matching this “featured-cv” criteria, this one for example : hidden link

Thanks in advance to help me display only candidature posts matching the featured-cv filter.

Regards
Eric

#915577

Dear Eric,

Thanks for the details, I can login your website, and have done below modification in your website:
Edit the view "Candidats à la une 3"
hidden link

In section "Limit and Offset", change the option from Skip first 5 items, to
Skip first none items

Since there are no more 5 featured items, so Views will output "no items found" if you use option "Skip first 5 items".

Please test again, check if it is fixed.

#915580

Solved
Thanks