Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter matiaspunx

    (@matiaspunx)

    Author?
    Anyone?
    ??

    Plugin Contributor Kamal Khan

    (@bhittani)

    Hi, This will be coming in the next version

    I join the request. That would be great!

    And a question. Is there any way to show kk ratings in every excerpt, like in the home page. For example:
    =======================================
    Post title

    Excerpt (…)

    Date | ***** (kk ratings)
    =======================================

    If it’s possible only through php, could you provide the necessary code line?

    Thanks!

    Plugin Contributor Kamal Khan

    (@bhittani)

    @martel7: Use the following code in your template files:
    <?php if(function_exists('kk_star_ratings')): echo kk_star_ratings($pid); endif; ?>

    Where $pid is the id of the post

    Plugin Contributor Kamal Khan

    (@bhittani)

    Updates: Version 1.3 has been released. This includes a widget to show top rated posts ??

    Thanks a bunch!

    Plugin Contributor Kamal Khan

    (@bhittani)

    Most welcome

    Hi =)

    First of all, thanks for the effort of building this really nice plugin!

    I’ve got a related question. Is there a way to display the top rated articles not in the sidebar via widget, but manually?
    I grouped the posts with custom queries (like newest from cat a, newest from cat b), and I want a…let’s call it post group with the top rated articles. But not in the sidebar.
    Or would the easiest way be to register a new sidebar for that (of which you can’t see that it’s a sidebar)?

    Plugin Contributor Kamal Khan

    (@bhittani)

    Hi, thanks for appreciating. Yes, this situation was raised before as well. I will most likely add this feature in next version.

    Sorry for the delay

    Hi Kamal, is it possible if you use the kk ratings only by shortcodes that the widget which shows the top rated posts doesn’t work correctly? It shows at random 5 posts all of them with averages of 5/5 (while they are lower).

    Btw, would be very very appreciated if you add the functionality as katrinkbleeblatt suggested. Very appreciated! ??

    Thanks for the answer =) I solved it with an exclusive sidebar for it for now =)

    Kamal, this is exactly what I need for a site I am working on, and it works perfectly. My hero! One quick question: I have an unusually wide sidebar, and I would love to add the actual star images to the sidebar widget content. I have been combing through the code and have found no simple solution thus far. I will get this eventually, but if you could point me in the right direction, it would be most appreciated!

    Plugin Contributor Kamal Khan

    (@bhittani)

    Hi, thanks for appreciating the plugin.

    For a quick solution, go to the widgets.php file (line 29 to 42)
    and overwrite it with this code:

    // OUTPUT starts
    		$posts = kk_star_ratings_get($total, $category);
    		echo '<ul>';
    		foreach ($posts as $post)
    		{
    		   echo "<li>" . kk_star_ratings($post->ID) . "</li>";
    		}
    		echo '</ul>';
    		// OUTPUT ends

    I haven’t tested this code before adding it here, but i guess it would work ??

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: kk Star Ratings] order by rating’ is closed to new replies.