Customizing the "No Posts" message
Posts Table Pro lets you add 2 custom messages that will appear if no posts are found.
These options must be added directly to the shortcode.
No posts message
The no_posts_message
option controls the text that displays if no posts are found when the table first loads (for example, because you have set it to display a category with no posts). Set this to any text you like. For example, if you’re displaying events you could use:
[posts_table no_posts_message="Sorry, no events available."]
Please note: this option will have no effect if you have set a custom language using the posts_table_supported_languages
filter.
No posts filtered message
The no_posts_filtered_message
controls the text that displays if there are no results after the user has entered a search term. For example:
[posts_table no_posts_filtered_message="Sorry, no products match these search criteria."]
Please note: this option will have no effect if you have set a custom language using the posts_table_supported_languages
filter.