Title: Code To Call? RSS Feed
Last modified: August 19, 2016

---

# Code To Call? RSS Feed

 *  [DrowSserp](https://wordpress.org/support/users/drowsserp/)
 * (@drowsserp)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/code-to-call-rss-feed/)
 * I’ve written a basic widget to match my themes sidebar style that contains an
   image link to the rss feed. As I hope to include this in my theme for others 
   to use on their websites _I need the method or code to uhh call? or fetch? the
   blogs rss feed url_. Please excuse my lack of terminknowledge.
 * Thanks for any advice 🙂

Viewing 1 replies (of 1 total)

 *  Thread Starter [DrowSserp](https://wordpress.org/support/users/drowsserp/)
 * (@drowsserp)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/code-to-call-rss-feed/#post-1987654)
 * I came across this [http://codex.wordpress.org/Customizing_Your_Sidebar#Buttons_and_Icons](http://codex.wordpress.org/Customizing_Your_Sidebar#Buttons_and_Icons)
 * and I’m thinking this must be what I’m looking for..
 * `feed:<?php bloginfo('rss2_url'); ?>`
 * If someone can confirm this is the right code to autodetect the rss feed location
   I can try to get it to work in my widgets html code in functions.php

Viewing 1 replies (of 1 total)

The topic ‘Code To Call? RSS Feed’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 1 participant
 * Last reply from: [DrowSserp](https://wordpress.org/support/users/drowsserp/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/code-to-call-rss-feed/#post-1987654)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
