Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Sorry, I don’t get your question, can’t you just add <?php the_ratings(); ?> to the archive page?

    Thread Starter suppenhuhn

    (@suppenhuhn)

    hi!

    i want to show the rating of every post on the category or archive page, where all posts are shown as “previews” with it’s title, thumbnail and excerpt.
    And i’d like to show the rating of the post in this preview also.

    So it would be perfect to have and php code ( which shows the rating of the post ) to add into the category or archive-template.

    P.S. Found this code – is that the right one?:

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

    Thread Starter suppenhuhn

    (@suppenhuhn)

    That’s it! Thank you, this is the code i was looking for!

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

    I’d like to do the same thing, but with the stars being read-only. Is that possible?

    Basically, I’d like to have the stars on a post list only to show their rating. Users would have to go into the actual post before being able to rate it. Are there any functions or parameters I can use to make it so?

    Plugin Author Lester Chan

    (@gamerz)

    Try <?php echo the_ratings_results(get_the_id()); ?>

    Thread Starter suppenhuhn

    (@suppenhuhn)

    Hi,

    great tip! One question left – in which file can i change/customize the text of the “hoover-tooltip”? Would appreciate this 🙂

    Plugin Author Lester Chan

    (@gamerz)

    The hover tooltip text is native by the browser. You can’t change it

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Show Postrating in Excerpt’ is closed to new replies.