Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Kamal Khan

    (@bhittani)

    You can choose the amount of stars you wish to use for the plugin in the options page. So instead of $stars/5, it is $stars/($total_stars/5).

    suppose you have default 5 stars, then

    $stars/($total_stars/5) = $stars

    now if you opt to use 10 stars, then

    $stars/($total_stars/5) = $stars/2

    This is dynamic so that the no of stars can be changed whenever you want.

    Hope that makes sense.

    Plugin Contributor Kamal Khan

    (@bhittani)

    If you visit the help tab in the settings page of the plugin, you may find some hooks to help you add features when a post is voted or before ratings are loaded.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Why the division by 5? In kksr_ajax()’ is closed to new replies.