WordPress.org

Support

[Resolved] Top rated

Viewing 15 replies - 1 through 15 (of 22 total)
  • I need this too!!!

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

    yep I need that too.

    Plugin Author vovafeldman

    @svovaf

    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.

    download link is not working….

    Plugin Author vovafeldman

    @svovaf

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

    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

    Plugin Author vovafeldman

    @svovaf

    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>';

    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.

    Plugin Author vovafeldman

    @svovaf

    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.

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

    query_posts doesn’t work for me 🙁

    Plugin Author vovafeldman

    @svovaf

    This limit applies to all of the categories.

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

    thanks

    Plugin Author vovafeldman

    @svovaf

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

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘[Resolved] Top rated’ is closed to new replies.
Skip to toolbar