What to show when Catlist has No Content

ai2

Text to display when No Posts are found when using WP Plugin “List Category Posts”.

When you set up the WordPress Plugin “List Category Posts” to show your posts from a specific category, or a selection of those by using tags, there might be occasions where no posts will be selected.


These Adverts help to pay for this site.

Rather than just a blank space, you have the option to show some specific text of your choice, by adding extra parameter into the {catlist} command.

If you want to show the words: No Listing in this Location

Just add no_posts_text=”No Listing in this Location” to the end of your {catlist….  command.

eg:

orderby=title order=asc numberposts=5 no_posts_text=”No Listing in this Location”]


Agoda HolidaysAgoda HolidaysThese Adverts help to pay for this site.

The result should be like this:


Example of Catlist command with no results

    No Listing in this Location


44.1 - 547,777
Scroll down for Comments
0 0 vote
Article Rating
Subscribe
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments