WordPress.org

Ready to get started?Download WordPress

Forums

kk Star Ratings
[resolved] Template tag available? (7 posts)

  1. davemac
    Member
    Posted 3 years ago #

    Is there a template tag available for the plugin so I can place it where I want in my single.php template?

    http://wordpress.org/extend/plugins/kk-star-ratings/

  2. Kamal Khan
    Member
    Plugin Author

    Posted 3 years ago #

    Currently I haven't worked on the template tag. I will most probably add a template tag in a couple of days where you can show the ratings on any template page.

  3. webmack
    Member
    Posted 3 years ago #

    Is it possible to have the ratings show up for all posts in a specific category?

  4. Kamal Khan
    Member
    Plugin Author

    Posted 3 years ago #

    It is possible. I will implement the specific category part along with the template tag together in the next version.

  5. Kamal Khan
    Member
    Plugin Author

    Posted 3 years ago #

    For theme files use:
    <?php if(function_exists('kk_star_ratings')) : echo kk_star_ratings(post_id); endif; ?>

    Where post_id is the id of the post.

  6. webmack
    Member
    Posted 3 years ago #

    Thanks, KK

  7. adambundy
    Member
    Posted 2 years ago #

    Kamal, great plugin- thanks! Do you have an example of a simple loop using the above to show top-rated posts with a few basic elements like the post_thumb, author and title perhaps? Thanks!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic