Title: Display message when feed is empty
Last modified: November 22, 2016

---

# Display message when feed is empty

 *  Resolved [5tu](https://wordpress.org/support/users/5tu/)
 * (@5tu)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/display-message-when-feed-is-empty/)
 * I use wp-rss-aggregator to pull in a job vacancies rss feed to my site. When 
   this feed is empty, due to there being no vacancies, wp-rss-aggregator displays
   the message “No feed items found”. Is there a way to customise this message to
   make it more friendly?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [5tu](https://wordpress.org/support/users/5tu/)
 * (@5tu)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/display-message-when-feed-is-empty/#post-8469355)
 * I have found that I can change the message for all feeds by using the following
   in my functions.php file…
 *     ```
       add_filter( 'no_feed_items_found', 'my_no_feed_items_found_text' );
       function my_no_feed_items_found_text() {
       	return __( 'Sorry, there are no vacancies currently available.', 'text-domain' );
       }
       ```
   
 * However, is there a way to display different messages for different feeds?
 *  [Eric Gunawan](https://wordpress.org/support/users/erricgunawan/)
 * (@erricgunawan)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/display-message-when-feed-is-empty/#post-8471511)
 * Hi [@5tu](https://wordpress.org/support/users/5tu/),
 * If you’d like to, you can rewrite the whole display template and hook them into`
   wprss_display_template` filter.
 * You can write a custom query to check each Feed Item is belonged to which Feed
   Source then display different messages for them.
 * You can refer to `wprss_default_display_template()` function in order to how 
   to display the feed items.

Viewing 2 replies - 1 through 2 (of 2 total)

 The topic ‘Display message when feed is empty’ is closed to new replies.

 * ![](https://ps.w.org/wp-rss-aggregator/assets/icon-256x256.gif?rev=3157090)
 * [WP RSS Aggregator - RSS Import, Feed to Post, Autoblogging, AI Content](https://wordpress.org/plugins/wp-rss-aggregator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rss-aggregator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rss-aggregator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rss-aggregator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rss-aggregator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rss-aggregator/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Eric Gunawan](https://wordpress.org/support/users/erricgunawan/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/display-message-when-feed-is-empty/#post-8471511)
 * Status: resolved