The [homerunner-property-reviews]
shortcode displays guest reviews and ratings for the property on single property pages. It shows up to 10 most recent reviews with their titles, author information, 5-star ratings, and detailed content.
Basic Usage #
[homerunner-property-reviews]
Parameters #
No parameters available.
Technical Notes #
- Only works on single property pages (post type: property)
- Features:
- Displays up to 10 most recent reviews
- Shows review title, author, 5-star rating, and content
- Reviews are sorted by date (newest first)
- Only published reviews are displayed
- Reviews are displayed in a responsive grid layout
- Uses custom post type ‘review’ with parent_id linking to the property
- Renders using the property/reviews.php template
- Wrapped in a UK-scoped container for consistent styling