Changing length of the RSS feed description content in URL to RSS plugin

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

Tagged: 

This topic has 1 reply, 2 voices, and was last updated 1 year, 5 months ago by Szabi – CodeRevolution.

Viewing 1 reply thread
  • Author
    Posts
    • #7796


      Diftely
      Participant
      Post count: 1

      Hello!

      As I’m using the URL to RSS plugin, want to know if any way to change/customize the length of the description of each RSS feed? For example if I need to set is as 150 words (or the equivalent in number of characters). I think it should be possible but I don’t find the feature. Or does it need to dive into a specific plugin file to modify?

    • #7799


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Hello,

      First of all, thank you for your purchase.

      Currently, changing the length of the <description> of feed items is possible only if you edit the code of the plugin. Please go to the ‘rss-feed-from-any-site.php’ file and search for this line:

      $etext = wp_trim_words( $etext, $excerpt_length, $excerpt_more );
      Please change the $excerpt_length parameter to any number of characters you would like to have the  <description> of feed items.

      Regards, Szabi – CodeRevolution.

Viewing 1 reply thread

The topic ‘Changing length of the RSS feed description content in URL to RSS plugin’ is closed to new replies.