WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. VFHwebdev
    Member
    Posted 1 year 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. vovafeldman
    Member
    Plugin Author

    Posted 1 year 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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic