What to show when Catlist has No Content


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.

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”]

The result should be like this:


Example of Catlist command with no results

    No Listing in this Location


116.1 - 873,654
DreamHost

Scroll down for Comments
0 0 votes
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
0
Would love your thoughts, please comment.x
()
x