WordPress.org

Forums

WP-PostRatings
[resolved] Does not show the rating when added with the_ratings(); (2 posts)

  1. resitsahin
    Member
    Posted 1 year ago #

    I am adding the code

    <?php if(function_exists('the_ratings')) { the_ratings(); } ?>

    to the page index.php from the wordpress admin panel. I am not able to get the plugin directory. But the rating does not show up. If i add it to the footer, it shows up.

    I am using knowhow thema

    If i add [ratings] to a specific post, the rating shows up.

    How can i solve this?

    https://wordpress.org/plugins/wp-postratings/

  2. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

    You need to add the PHP to your theme's loop http://codex.wordpress.org/The_Loop.

    Where to add it differs from theme to theme. For the default twentyforteen theme, you can add it in content-*.php files.

    As for your theme, the best person to answer this will be your theme author.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.