Skip Navigation

[Resolved] The first result on the VIEW wont display after search

This support ticket is created 3 years, 7 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 4 replies, has 2 voices.

Last updated by husseinA-4 3 years, 7 months ago.

Assisted by: Shane.

Author
Posts
#2060277
Screenshot 2021-05-18 at 18.34.08.png

Tell us what you are trying to do?
When the page loads, all of the post in the custom post type appear. But when you type something on the search bar, it skips the first result!

And on the page there is pagination of divi category which I DONT know why is there!

Is there any documentation that you are following?
I have uploaded a screenshot of the View

Is there a similar example that we can see?

What is the link to your site?
hidden link

#2060459

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Hussein,

Thank you for getting in touch.

Based on what I see here it would appear that the reason why some of the items are being skipped is because of your conditional statements.

My advise is to add the debug='true' attribute to your views conditional statements to check to see why the items are being skipped.

This would mean that the items that are appearing blank or skipped aren't matching any of your set criterias.

Thanks,
Shane

#2061181

Thanks for you reply.
Where should I put the debug code?

#2061253

I have turned on the Debug Mode via setting... but can not see anything!!!

Made sure the popups are allowed on my browser as well....

#2061343

I have recreated the archive page and I think the issue is resolved