Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    Try this:

    // Average rating of the page
    $averageRating = get_post_meta(get_the_ID(), '_glsr_average', true);
    
    // Ranking of the page
    $pageRank = get_post_meta(get_the_ID(), '_glsr_ranking', true);
    
    // Total number of reviews assigned to the page
    $totalReviews = get_post_meta(get_the_ID(), '_glsr_reviews', true);
    
    Thread Starter ranone

    (@ranone)

    Oh @geminilabs, now it’s work perfectly! Thanks you so much!

    Just a question: What is “ranking of the page”?

    Best regards

    Plugin Author Gemini Labs

    (@geminilabs)

    All pages that have reviews assigned to them will gat a ranking number. The ranking is is determined by a bayesian algorithm (see https://www.xkcd.com/937/) and you can use the _glsr_ranking meta key to sort assigned pages by rank with WP_Query.

    Please see the FAQ tab on the help page for more information on this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Merging aggregateRating info into blog post not work anymore’ is closed to new replies.