Forums

[resolved] Changing the RSS Widget to restrict amount of words (2 posts)

  1. kmessinger
    Member
    Posted 7 months ago #

    From feed.php

    To restrict the amount of words of the content, you can use the cut parameter. If the content is less than the amount, then there won't be any dots added to the end. If there is content left over, then dots will be added and the rest of the content will be removed.

    I am bringing in feed from my other blog but I want to have just of couple of lines of feed for each post. I assume (yeah, I know) from the above that feed.php is the place to adjust this but I do not know how to use the cut parameter.

    Is this file the correct one and what is the code for cut?

    Regards,
    Keith
    http://www.ourexcellentadventures.com

  2. kmessinger
    Member
    Posted 7 months ago #

    The file is widgets.php and the code is on line 1587 and 1588. You will see a red "360" which is a character count. Change this to whatever you want.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.