• Resolved bigvibes

    (@bigvibes)


    Hi, I saw a few options in the code library for RSS, but none that mentioned how to add a description for RSS feeds. Right now my RSS feeds have a description being pulled in but it shows very unhelpful text (eg this post was published….) and I don’t know how to change it since I don’t know where it’s actually pulled in from.

    Is there a snippet to both add a description that will replace the old one and hopefully if it can change the length of text that would be a bonus!

    I saw this one snippet online on another site but it’s returning errors:

    function insertInfo($content) {
    $content = $content.’This text will display within your rss feed’;
    return $content;
    }
    add_filter(‘the_excerpt_rss’, ‘insertInfo’);

    thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @bigvibes,

    I’m not sure what description you are looking to update here – is that the content that shows up for each post?

    You mentioned “this post was published” – I’m not sure that is coming from the feed – what are you using to preview the feed?

    Can you please reach out using the form at https://wpcode.com/contact in order to look into this in more detail?

Viewing 1 replies (of 1 total)
  • The topic ‘How to Create Description for RSS Feed’ is closed to new replies.