By default, Display Posts displays nothing if no posts were found matching your query. You can specify content to display using the no_posts_message parameter. Using a filter You can also use the display_posts_shortcode_no_results filter to modify the no posts message. This is useful if you want to use the same message on all instances of […]
Filter: display_posts_shortcode_no_results
Customize the message displayed if no posts are found. The default is empty, but you can specify one in shortcode with [[display-posts no_posts_message="message goes here"]]