Skip to main content
View Categories

Property Specifications Shortcode

< 1 min read

The [homerunner-property-specs] shortcode displays key property specifications in a visually appealing grid layout, showing the maximum guest capacity, number of bedrooms, and number of bathrooms.

Basic Usage #

[homerunner-property-specs]

Parameters #

No parameters available.

Technical Notes #

  • Only works on single property pages (post type: property)
  • Features:
    • Displays three key property metrics:
      • Maximum number of guests allowed
      • Number of bedrooms
      • Number of bathrooms
    • Each metric includes:
      • Large numeric display
      • Descriptive label
      • Custom icon (guests, bedrooms, bathrooms)
    • Responsive grid layout:
      • Full width on mobile
      • Three columns on medium and larger screens
      • Divider lines between columns
    • Only visible on medium and larger screens (@m breakpoint)
  • Uses custom fields:
    • ‘maximum_guests’ for guest capacity
    • ‘bedrooms’ for bedroom count
    • ‘bathrooms’ for bathroom count
  • Renders using the property/specs.php template
  • Wrapped in a UK-scoped container for consistent styling