Add any RSS feed to your dashboard

By default, WordPress shows you RSS feed on your dashboard. Obviously, this feed contains news which aren’t interesting to everyone. Instead of leaving it so, you can completely customize your dashboard and remove the feed, or you can customize only the feed and add stuff that really matters to you.

Without any further ado, we are about to show you how to change WordPress feed and add a custom link that you will actually care of:

  1. Navigate to functions.php file and open it
  2. Copy and paste this code:
  3. function wpc_dashboard_widgets() {
    global $wp_meta_boxes;
    // remove unnecessary widgets
    // var_dump( $wp_meta_boxes['dashboard'] ); // use to get all the widget IDs
    // add a custom dashboard widget
    wp_add_dashboard_widget( 'dashboard_custom_feed', 'WP Loop', 'dashboard_custom_feed_output' ); //add new RSS feed output
    function dashboard_custom_feed_output() {
    echo '<div class="rss-widget">';
    'url' => '',
    'items' => 5,
    'show_summary' => 1,
    'show_author' => 0,
    'show_date' => 1
    echo "</div>";
    add_action('wp_dashboard_setup', 'wpc_dashboard_widgets');
  4. Change parameters which you want
  5. Save changes

If you’re not into coding, don’t be scared by all that you see above. Customizing the code so that you can add RSS feed which you really want is only few steps away.

Let’s start with most important part, and that is the RSS feed address. Simply find the following line of code in above function and change the URL:

  • ‘url’ => ‘’,

Now that you have located the line and changed the address, you can slowly continue reading out the code. For starters, change the number of news that you want to appear in you feed. Summary, author and date can have only “1” or “0” values which means that you do want or don’t want to show summary, author’s name, and you guessed – date of publishing.

Last but not least, you will probably want to change the title of your RSS feed. If so, find the following line in the function you have c/p just a moment ago and change the title:

wp_add_dashboard_widget( 'dashboard_custom_feed', 'TITLE GOES HERE', 'dashboard_custom_feed_output' ); //add new RSS feed output

Don’t forget to save the changes and navigate to your dashboard. If everything is done correctly, your custom news feed is ready; cool, isn’t it?

If you’re interested into modifying your RSS feed even further, see how to display external feeds on your site or how to enable images in your own RSS feeds.

Start Blog Book


This guide is an introduction to mastering the art of blogging. It provides easy to follow steps to start, maintain, and grow your blog.

Read the guide

Leave a Reply

Your email address will not be published. Required fields are marked *