WordPress.org

Ready to get started?Download WordPress

Forums

Rating-Widget: Star Rating System
[resolved] Top rated (23 posts)

  1. crashy11
    Member
    Posted 1 year ago #

    Hello,

    I got star raiting top rated widget on my sidebar, I would like to have it on one page with bigger rated list then on sidebar. Is there any shortcode to insert top rated raitings into page?

    Thanks

    http://wordpress.org/extend/plugins/rating-widget/

  2. sfmexx
    Member
    Posted 1 year ago #

    I need this too!!!

  3. senthamizh
    Member
    Posted 1 year ago #

    hi,
    is it possible to get top 100 votes in a page..
    waiting for your reply.....

  4. crashy11
    Member
    Posted 1 year ago #

    yep I need that too.

  5. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    There's no shortcode for that yet. But we've already developed this for one of our clients in a form of custom page template. Here's the instructions:

    1. Download our Top-Rated Template
    2. Extract the zip and copy the Top-Rated Template file, top-rated-page.php, to your active theme's folder.
    3. Now, create a new empty page, and make sure to modify the page template to 'Rating-Widget Top Rated Template' (screenshot)
    4. You can give the page any title you like. Now publish the page and link it to wherever you wish.
    5. We've also added some initial css rules, it's a good start. Just make sure to attach the rules to your WP (you can append the rules to your theme's style.css file). Later you can modify it as you like.

    Please let me know if that was helpful.

  6. senthamizh
    Member
    Posted 1 year ago #

    download link is not working....

  7. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

  8. senthamizh
    Member
    Posted 1 year ago #

    Thanks for the reply...
    i need to filter with category based on vote not on rating

  9. sfmexx
    Member
    Posted 1 year ago #

    is it possible to modify the content of the template?

    - I dont like to display page ratings, only the article ratings are important for me.
    - Then, the images are not displayed, whats wrong?
    - Is it possible to deactivate the excerpt text?

    thanks

  10. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    You can hack the template by modifying the GetTopRated method within the main plugin file - rating-widget.php.

    That's the current template:

    $html .= '<li class="rw-wp-ui-top-rated-list-item">
        <div>
            <b class="rw-wp-ui-top-rated-list-count">' . $count . '</b>
            <img class="rw-wp-ui-top-rated-list-item-thumbnail" src="' . $thumbnail . '" alt="" />
            <div class="rw-wp-ui-top-rated-list-item-data">
                <div>
                    <a class="rw-wp-ui-top-rated-list-item-title" href="' . $permalink . '" title="' . $title . '">' . $short . '</a>
                    <div class="rw-ui-container rw-class-' . $rclass . ' rw-urid-' . $urid . '"></div>
                </div>
                <p class="rw-wp-ui-top-rated-list-item-excerpt">' . $excerpt . '</p>
            </div>
        </div>
    </li>';
  11. ak.azmi
    Member
    Posted 1 year ago #

    Thanks for referring me to this thread. I have created the page and do some little customization.

    My question is, how to override the default number of posts set via top-rated widget or if I remove the widget? I want to increase the number of posts shown on the page.

    Thanks.

  12. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    1. Open the main plugin file, rating-widget.php
    2. Search for GetTopRatedData method.
    3. Within the method, search for:
    "limit" => 5
    4. You can modify the limit up to 25 items.

    Let me know if that what you've meant.

  13. Maximus Saint
    Member
    Posted 1 year ago #

    this is great!
    now, how can i do this for posts from specific categories? :)

    query_posts doesn't work for me :(

  14. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    This limit applies to all of the categories.

  15. Maximus Saint
    Member
    Posted 1 year ago #

    i see, but what i mean is how to show most rated posts on a page, from specific category?

    thanks

  16. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    Oh... got it now. Unfortunately currently it's impossible, but it's part of our TODOs list.

  17. Maximus Saint
    Member
    Posted 1 year ago #

    ok, i'll be waiting. thanks a lot for your work, it is really the best plugin. but please, add the feature to create "Most Rated" pages. other similar plugins have it.

  18. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks, we'll do! Btw. I would really appreciate if you could spend 60 sec rating the plugin on WP to help us spread the word (don't forget to click the Post button to submit the rating):
    http://wordpress.org/support/view/plugin-reviews/rating-widget#postform

  19. Andrew Gregson
    Member
    Posted 1 year ago #

    Hi Vova,

    Quick question on the stylesheets for the page design - how would i remove the stars and just have the number of votes displayeed
    And which class change the font size of the name of the post.

    Many thanks
    Ande

  20. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    To hide the stars use the following code:
    ul.rw-ui-stars {display: none;}

    The class that responsible for the post title is:
    rw-wp-ui-top-rated-list-item-title

  21. yflor3
    Member
    Posted 1 year ago #

    Hello Vova,

    I followed your instructions above and it worked perfectly. I had no problems. I had the "TOP RATED" page running for at least two weeks with no problem and no modification to the code.

    Today, June 03, 2013, while I was checking my website I noticed the page stopped showing the "top rated". The weird part is that it was working an hour before.

    The question is what is going on?

    Thank you.

    yflor3

  22. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    Please share the page's url so I can check it.

  23. yflor3
    Member
    Posted 1 year ago #

    Vova,

    Thank you for the response. The problem fixed itself. I am guessing it was a server problem.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.