WordPress.org

Ready to get started?Download WordPress

Forums

GD Star Rating
Displaying Stars on Other Pages that are not the Homepage with Custom Templates (1 post)

  1. _wpuser_
    Member
    Posted 1 year ago #

    Issue:
    In brief, I would like to simply recreate the posts and gd star rating stars on pages that are not the homepage, so users can vote once on either the homepage or vote on other pages. If this is not possible, how would I simply display any particular post of my choose and display the stars rating underneath it?

    Example:
    Three posts are on a homepage, and the ratings block follows each one automatically in part with this Loop code:
    <?php while ( have_posts() ) : the_post() ?>
    <?php get_template_part( 'entry' ); ?>
    <?php endwhile; ?>

    The ratings system works fine for the three posts that display. On a different secondary page, I would like to show one of the three posts again, and I would like the ratings block to generate again for that particular post (so if there are already ratings in the database, it will show the current score). If there are no ratings in the database (the user hasn't voted) then I'd like the user to be able to vote, with those changes reflected then on the homepage. If this is not possible, I would at least like to simply display the rating for that particular post with stars and average score. How would that be accomplished?

    http://wordpress.org/extend/plugins/gd-star-rating/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic