• Hi.

    I’m finding that the actual shortcode code is being displayed in the rss feed rather than the shortcode output, if that makes sense.

    If I add a ‘do_shortcode’ filter to ‘the_content_rss’ it seems to fix the issue, but this feels like a work-around.

    Should shortcodes be procesed in rss feeds by default, or is this by design?

Viewing 1 replies (of 1 total)
  • Even if it feels like a workaround for you,
    your idea helped me out, thanks!
    I don’t know if it’s the exact way you did it,
    but after some figuring out
    I added the following line to my theme’s functions.php:

    add_filter(‘the_content_rss’, ‘do_shortcode’);
    //processing shortcode for output in feeds

    Maybe this will save someone some time scratching his head ??

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode code showing in RSS feed’ is closed to new replies.