congthien,
So I can’t say that I entirely understand your question. However, I’m going to venture to assume that you wish to display separate aggregate (average) ratings that aren’t limited to the organization of pages and posts? So this can be done simply by using custom categories. So each form that takes reviews will store alongside a review the page or post id on which the form is placed and any category assigned to the form (i.e [RICH_REVIEWS_FORM category="foo"]
. The page/post id is what is used to pull reviews when category="post'
is used with RICH_REVIEWS_SHOW
, however when you use a custom category like above category='foo'
with RICH_REVIEWS_SHOW
you will only be returned reviews that were submitted through a form with the category of ‘foo’. This allows you to collect categorized reviews from anywhere and display them anywhere. So with this setup you could, for instance, collect reviews on a number of different product pages all with a category of ‘tools’ and then collect some more from other products all with category of ‘electronics’ and then display both categories of reviews on your home page by using one RICH_REVIEWS_SNIPPET
shortcode for each category.
Let me know if this makes sense and/or if it answers your question,
Thanks,
Charlie Maxwell
[NM_Developer]