Title: RSS and do_shortcode(&#8216;[gallery]&#8216;)
Last modified: August 19, 2016

---

# RSS and do_shortcode(‘[gallery]‘)

 *  Resolved [thepaperdump](https://wordpress.org/support/users/thepaperdump/)
 * (@thepaperdump)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/rss-and-do_shortcodegallery/)
 * I’m using do_shortcode(‘[gallery]‘); in my template to show up any gallery attached
   to the post. Problem is, the gallery output does not show up in the RSS feed.
 * If I use [gallery] in a specific post, the gallery shows up fine; but not when
   I put the shortcode into the template. Any idea why this is happening or if there
   is a workaround?

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

 *  Thread Starter [thepaperdump](https://wordpress.org/support/users/thepaperdump/)
 * (@thepaperdump)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/rss-and-do_shortcodegallery/#post-859677)
 * no idea?
 *  Thread Starter [thepaperdump](https://wordpress.org/support/users/thepaperdump/)
 * (@thepaperdump)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/rss-and-do_shortcodegallery/#post-859694)
 * did it by editing feed-rss2.php, thanks [@_](https://wordpress.org/support/users/_/)
   @;
 *  [jonez](https://wordpress.org/support/users/jonez/)
 * (@jonez)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/rss-and-do_shortcodegallery/#post-859809)
 * Are there any plugins that put one or more images from the gallery into feeds?
   I’d hate to start hacking up the core… I’d break it for sure! 🙂
 *  [nzahn](https://wordpress.org/support/users/nzahn/)
 * (@nzahn)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/rss-and-do_shortcodegallery/#post-859851)
 * Hi thepaperdump, I was wondering how you made it so that the template in the 
   gallery attached to the post? I am trying to solve it and I am not getting further…
 *  Thread Starter [thepaperdump](https://wordpress.org/support/users/thepaperdump/)
 * (@thepaperdump)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/rss-and-do_shortcodegallery/#post-859853)
 * Hi, Nzahn, I’m not quite sure what your question is regarding (I’m a bit slow),
   more details please?
 *  [dirkhaim](https://wordpress.org/support/users/dirkhaim/)
 * (@dirkhaim)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/rss-and-do_shortcodegallery/#post-859886)
 * Any chance you can post the diff of the code hacking you did?
 * Thanks
 * BTW, it will be great if anyone will do a plugin out of it.

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

The topic ‘RSS and do_shortcode(‘[gallery]‘)’ is closed to new replies.

## Tags

 * [gallery](https://wordpress.org/support/topic-tag/gallery/)
 * [RSS](https://wordpress.org/support/topic-tag/rss/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 6 replies
 * 4 participants
 * Last reply from: [dirkhaim](https://wordpress.org/support/users/dirkhaim/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/rss-and-do_shortcodegallery/#post-859886)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
