Skip to main content
View Categories

Property Meta Shortcode

< 1 min read

The [homerunner-property-meta] shortcode displays essential property classification information including the property’s city and type in an organized list format.

Basic Usage #

[homerunner-property-meta]

Parameters #

No parameters available.

Technical Notes #

  • Only works on single property pages (post type: property)
  • Features:
    • Displays two key property taxonomies:
      • Property City (property_city taxonomy)
      • Property Type (property_type taxonomy)
    • Each item includes:
      • Descriptive icon (location icon for city, tag icon for type)
      • Taxonomy term name
    • Layout:
      • Two-column list on medium and larger screens
      • Flexible grid with nowrap and middle alignment
      • Auto-width for icons, expanded width for content
    • Only visible on medium and larger screens (@m breakpoint)
    • Includes scrollspy animation effect
  • Uses WordPress taxonomy functions:
    • the_terms() to display taxonomy terms
  • Renders using the property/meta.php template
  • Wrapped in a UK-scoped container for consistent styling