• Resolved radiation360

    (@radiation360)


    I’m using version 1.30 of the plug-in, and my ultimate goal is to remove the stars when displaying the highest rated posts as a widget; I’d just like to display the title of the post and link to it. It would seem somewhat intuitive to just change the ‘Highest Rated’ template, but what I see is this:

    <li><a href="%POST_URL%" title="%POST_TITLE%">%POST_TITLE%</a> %RATINGS_IMAGES% (%RATINGS_AVERAGE% out of %RATINGS_MAX%)</li>

    …which doesn’t seem to match up with what the Widget is actually displaying; it looks more like this to me:

    <li><a href="%POST_URL%" title="%POST_TITLE%">%POST_TITLE%</a> %RATINGS_IMAGES%</li>

    I’ve changed that value without success; I’ve also tried changing it and then reloading the widget, but I haven’t had any luck that route either. It seems that (under the Ratings menu, at least) there isn’t a template in place for the widget and that its display is static; is that the case? If not, where can I change that value?

Viewing 3 replies - 1 through 3 (of 3 total)
  • you need to configure the ratings widget and set the chars to cut off to 0.

    Thread Starter radiation360

    (@radiation360)

    Marked resolved.

    Thanks Lester- that worked. I may have missed it in the readme, but I don’t know that there’s necessarily an obvious mention of this. Bearing in mind that there are idiots like me out there with questionable reading comprehension, it might be useful to update the readme to declare the relationship between the templates and the widget configuration a little more explicitly. 🙂

    Thanks for the great plugin!

    -Bryan

    EDIT- I’m sorry if I missed this, but is there a way to limit the characters displayed from the post title while still overriding the default display?

    Hi Bryan, now the default installation is 0 instead of 200 =) That is not possible as post title may contain some special chars and when converted it maybe 5 chars just for 1 special char.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-PostRatings] How To Change HR Widget Display?’ is closed to new replies.