Forums

[resolved] RSS and do_shortcode('[gallery]') (7 posts)

  1. thepaperdump
    Member
    Posted 3 years ago #

    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?

  2. thepaperdump
    Member
    Posted 3 years ago #

    no idea?

  3. thepaperdump
    Member
    Posted 3 years ago #

    did it by editing feed-rss2.php, thanks @_@;

  4. jonez
    Member
    Posted 3 years ago #

    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! :)

  5. nzahn
    Member
    Posted 3 years ago #

    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 ...

  6. thepaperdump
    Member
    Posted 3 years ago #

    Hi, Nzahn, I'm not quite sure what your question is regarding (I'm a bit slow), more details please?

  7. dirkhaim
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic