Replace dashboard news feed with another rss feed

Adding this snippet to the functions.php of your wordpress theme will let you replace the existing RSS feed widget with another RSS feed. Change YOUR_FEED_NAME with the name you wish to display in the widget title this is located on line 09. You will need to also make adjustments to "url, title, items, show_summery, show_author, show_date" located from line 14-19.

Code Snippet:

add_action('wp_dashboard_setup', 'my_dashboard_widgets');
function my_dashboard_widgets() {
global $wp_meta_boxes;
wp_add_dashboard_widget( 'dashboard_custom_feed', 'YOUR_FEED_NAME' , 'dashboard_custom_feed_output' );

function dashboard_custom_feed_output() {
echo '<div class="rss-widget">';
'url' => 'http://wpsnipp.com/feed/',
'title' => 'MY_FEED_TITLE',
'items' => 2,
'show_summary' => 1,
'show_author' => 0,
'show_date' => 1
echo '</div>';

Comments  Leave a Reply

  1. that is awesome! Really useful, helps show a professional face on client’s websites and helps you stay connected with them. I’ve used it in conjunction with a plug in that cuts down the admin UI (WP Admin UI Customize)

  2. Thanks for this post. Is it possible to add a thumbnail image to the rss feed with this?

  3. This is great.

  4. Gracias

    1.  no problem

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!