Site Reviews

Creating A Review Post Template

To create a template for your review posts do the following:

  1. Go to GhostPool Core > Template Editor and click Add New.
  2. Give your template a title and from the Template Settings panel on the right select Page from the Type dropdown. Finally click the Edit with Elementor button.
  3. Now you can drag and drop elements from the elements panel on the left into the area marked Drag widgets here.
  4. You will probably want to insert the Post Title, Post Meta and Featured Item elements to display the title, meta data and featured image for your review post respectively.
  5. To display your ratings insert the Show Rating element – by default the source is set to Site Rating which is what you need.
  6. Change the maximum rating to whatever you want (make sure it’s not lower than the ratings you given in your review posts).
  7. The Average Rating options show the average of all your ratings if a review post has multiple ratings.
  8. The Criterion Rating options show individual ratings if a review post has multiple ratings.
  9.  There are more advanced options under the Advanced toggle.
  10. You can control the appearance from the Style tab.
  11. You can also add the Good/Bad Points and Summary elements if you have added this data to your review post.
  12. Save your template.
  13. Now go to GhostPool Core > Display Conditions, scroll down to the Pages section click the Add Another button, select the review post template you just created and under the Condition dropdown menu select Review Post. Now when you visit your review posts it will use this template.

Creating A Review Post

You can assign a rating and other review data to a post, page or any custom type. Site reviews are added by the admin, editor or any user who has the ability to add or edit posts from the backend. To create a review post do the following:

  1. Go to Posts > Add New and give your post a title.
  2. Scroll down to the Page Settings panel and set the Post Subtype dropdown menu to Review (this is entirely optional but allows you to easily display only review posts in the Items element).
  3. Scroll down to the Review Settings panel and give your review post a rating from the Site Rating option. If you want to add multiple ratings click the Add Another button. You can also give each rating a criterion title.
  4. If you have added multiple ratings the average rating is automatically calculated but you can overwrite this and add your own by enabling the Override Average Rating option.
  5. You can also give your review post good points, bad points and a review summary.
  6. Save your post.

Creating A Review List Template

To create a page that shows a list of reviews such as your homepage or a category do the following:

Creating Item Loop

  1. Go to GhostPool Core > Template Editor and click Add New.
  2. Give your template a title and from the Template Settings panel on the right select “Item Loop” from the Type dropdown. Finally click the Edit with Elementor button.
  3. Now you can drag and drop elements from the elements panel on the left into the area marked Drag widgets here.
  4. You will probably want to insert the Post Title, Post Meta and Featured Item elements to display the title, meta data and featured image for your review post respectively.
  5. To display your ratings insert the Show Rating element – by default the source is set to “Site Rating” which is what you need.
  6. Change the maximum rating to whatever you want (make sure it’s not lower than the ratings you given in your review posts).
  7. The Average Rating options show the average of all your ratings if a review post has multiple ratings.
  8. The Criterion Rating options show individual ratings if a review post has multiple ratings.
  9. There are more advanced options under the Advanced toggle.
  10. You can control the appearance from the Style tab.
  11. Save your template.

Creating Page To Show Item Loop

  1. Go back to GhostPool Core > Template Editor and click Add New.
  2. Give your template a title and from the Template Settings panel on the right select “Page” from the Type dropdown. Finally click the Edit with Elementor button.
  3. Now you can drag and drop elements from the elements panel on the left into the area marked Drag widgets here.
  4. You will probably want to insert the Archive Title element to display the title if this is a category page.
  5. Insert the Items element into the page and select the item loop you just created from the Primary Item Template dropdown menu.
  6. You now need to tell the Items element to display you reviews. You have a variety of options to do this under the Query toggle.

Post Subtypes: Will display only posts with the subtypes you select – in this case select Review to only show review posts.

Tax Query: If you’ve added your reviews to categories you can choose to only display items from those categories. Under the Tax Query option click Add Item, leave the “Category” taxonomy selected (or change it if using a different taxonomy) and then enter the slug names of the categories your reviews have been added to (slug names are lowercase names with no spaces).

Meta Query: If you’ve assigned specific custom fields (meta key and values) to your reviews you can choose to only display items from those custom fields. Under the Meta Query option click Add Item and enter your key and value.

Current Query: If you’re displaying this page on a taxonomy (e.g. a category page) you can enable the Current Query option and it will automatically display any items added to this taxonomy.