Skip Navigation

[Resolved] I would like to show nothing instead of “No items found”

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

Problem: I want to show nothing instead of "No items found"

Solution: The message can be modified as needed in the Loop Editor of the View or WordPress Archive.

Relevant Documentation:
https://toolset.com/documentation/user-guides/digging-into-view-outputs/

This support ticket is created 5 years, 8 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by JamesK4399 5 years, 7 months ago.

Assisted by: Christian Cox.

Author
Posts
#1221985

We're still developing the site and so there are several assignments still to be done. I created a view to return the experts assigned to a type of service and another view to return links to the child pages of a custom post. In the cases where there isn't data we would rather see nothing instead of "No Items Found." On my other layouts I generally use conditional wrappers so that the field and label don't show if there isn't anything in the data. Since I'm using a view I don't know how to override the output. Thanks for your help.

I'm happy to provide you access if necessary but believe this is more of a general question...

I am really glad I purchased your suite of plugins. There is quite a learning curve understanding views and layouts but I'm amazing at what I can do with it.

Jim

#1222008

In the cases where there isn't data we would rather see nothing instead of "No Items Found."
Hi, you can edit any View or WordPress Archive that is showing this "No items found" message and scroll down to the Loop Editor. You will see the View has two sections: one for results found and another for no results found. You can delete the text from the no results found message here, or modify the message to fit your needs.

#1232484

My issue is resolved now. Thank you!