date of review/aggregate reviews

This topic contains 6 replies, has 3 voices, and was last updated by  Giri 7 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #255387

    blacspydr
    Buyer
    Post count: 44

    Is it possible to aggregate star reviews to provide an average rating based category?

    Also, I am trying to display the date that the review was left (to provide more context). Am I missing something or is this not possible?

    For reference, I am using the Whoop theme.

    #255608

    Paolo
    Site Admin
    Post count: 31206

    I’m not sure I understand either question, can you please clarify?

    I asked to the developer of the whoop theme to join the discussion too.

    Let us know,

    Thanks

    #255659

    blacspydr
    Buyer
    Post count: 44

    Sorry for the confusion.

    Regarding Date of review: When a user leaves a review of a place, currently, there is no date to reference when that the review was left (See attachment for an example from Yelp.com). This is important because it provides context to the review. For example a review left 10years ago may not be as relevant as a review left 10days ago because things may have changed in the past 10years.

    Regarding Aggregating average ratings based on category: Hypothetically, lets say that I am creating a restaurant review website and I have assigned categories by genre of food. Is it possible to provide an average star rating for all restaurants in the Italian food category? For example, Italian restaurant #1 has 5 stars and Italian restaurant #2 has 4 stars. I would like to display “Average Rating for all Italian Restaurants – 4.5 stars.”

    Hope that helps clarify things.

    #255898

    Giri
    Expired Member
    Post count: 3155

    Try this code in custom css setting for date

    
    
    .whoop-review-rating span:last-child {
        display: inline-block !important;
    }
    #255958

    Giri
    Expired Member
    Post count: 3155

    It doesn’t make sense to aggregate different restaurant ratings.

    Usually people interested in overall ratings of a particular restaurant. GD displays that overall ratings pretty well.

    Your case goes under customisation. So you need to hire someone from our jobs section.

    I’ll give you the steps to do it. So your dev can code it quickly.

    1) Refer best of widget code especially this function

    geodir_bestof_places_by_term

    . It can get the posts by term (i.e category)

    2) Once you get the posts get the average rating of each listing. you can get overall individual rating using this function

    geodir_get_post_rating($post->ID);

    3) Now all you have to do is add those individual ratings and divide by the number of listings.

    Thats all
    `

    #256031

    blacspydr
    Buyer
    Post count: 44
    This reply has been marked as private.
    #256098

    Giri
    Expired Member
    Post count: 3155

    You are welcome..

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket