Forums

Rating-Widget
Can I show the ratings in my archive pages? (2 posts)

  1. VFHwebdev
    Member
    Posted 3 months ago #

    I'm really pleased to find a star rating system that allows users to change their rating. I don't understand why more star ratings systems don't allow this.

    I'd really like to show the star ratings in my archive templates, not just on the single post templates. Is there some code I need to insert into my theme files to make this happen?

    Thanks!

    http://wordpress.org/extend/plugins/rating-widget/

  2. Vova Feldman
    Member
    Plugin Author

    Posted 3 months ago #

    WordPress archive suppose to use the_post(), same as pages and posts. So if your theme is developed correctly, archive ratings support should work out of the box. If it is not working, you can simply look at twentyeleven's archive.php file, for example, and see the differences.

    This is the important line that should appear:
    <?php while ( have_posts() ) : the_post(); ?>

    Please let me know if you managed to resolve this, and share your solution back with the community. Thanks!

Reply

You must log in to post.

About this Plugin

About this Topic