X
🐾 Coming from PetMatchPro 6.x? Version 8 adds real adoption analytics, similar-animal suggestions, SEO-friendly URLs, and overlay badges. See What's New →
PetMatchPro
  • Partners
    • AnimalsFirst
    • PetPoint
    • RescueGroups
  • What’s New
  • Shop
  • Demo
  • FAQ
  • Knowledge Base
  • About Us
  • Contact Us
  • My Account
  • Cart
Select Page
Green rocket icon for Getting Started documentation category

Getting Started

6
  • Activate Your License
  • Setup Wizard Walkthrough
  • Connecting Your Shelter System
  • Understanding License Tiers
  • Creating Your First Search Page
  • Creating Your First Detail Page
Blue code brackets icon for Shortcodes and Configuration documentation category

Shortcodes & Configuration

12
  • Shortcode Builder
  • [pmp-search] Reference
  • [pmp-details] Reference
  • [pmp-detail] Reference
  • [pmp-option] Reference
  • Parameters by License Tier
  • Common Shortcode Recipes
  • Pagination Setup
  • Excluding Values
  • Search Filter Button
  • Detail Button Hover Text
  • Search Card Hover Text
Purple palette icon for Templates and Design documentation category

Templates & Design

7
  • Search Templates Gallery
  • Detail Templates Gallery
  • Poster Templates
  • Theme Template Overrides
  • Color Customization
  • Font Size Customization
  • Detail Title Formats
Orange image with star icon for Icons and Overlays documentation category

Icons & Overlays

6
  • Understanding Pet Icons
  • Understanding Overlays
  • Icon Reference Gallery
  • Customizing Icon Display
  • Value-Based Icons
  • Icon Size Customization
Teal tag icon for Labels and Customization documentation category

Labels & Customization

3
  • Custom Labels Guide
  • Changing Labels via Filtering
  • Custom Currency & Date Formats
Blue funnel icon for Filters and Search documentation category

Filters & Search

5
  • Setting Up Search Filters
  • Species & Breed Filtering
  • Filter Value Management
  • Excluding Values via Filtering
  • Partner-Specific Filter Options
Violet chain link icon for Partner Integration Guides documentation category

Partner Guides

3
  • AnimalsFirst Integration Guide
  • PetPoint Integration Guide
  • RescueGroups Integration Guide
Red bar chart icon for Analytics and Tracking documentation category

Analytics & Tracking

7
  • Understanding PMP Analytics
  • GA4 Configuration
  • Google Tag Manager Setup
  • Leveraging Analytics
  • WP-Cron Requirements for PetMatchPro Analytics
  • Queue Health and Tools
  • Privacy and Data Retention
Amber wrench icon for Troubleshooting and FAQ documentation category

Troubleshooting

15
  • Common Error Messages
  • API Connection Issues
  • Template Not Found Errors
  • Theme Template Override Not Loading
  • Performance & Caching Best Practices
  • Animals Not Displaying
  • Stale Content / Cache Issues
  • Styling Conflicts
  • Empty Field Display
  • Analytics Queue Stuck or WP-Cron Not Running
  • Premium Feature Not Appearing After Upgrade
  • Troubleshoot the PetMatchPro Shortcode Builder
  • Reading PMP Debug Logs
  • wp-config.php Configuration Constants
  • How to Contact Support
Lightbulb icon representing PetMatchPro best practices guides for homepage layouts, button strategy, performance tuning, and template selection

Best Practices

10
  • Featuring Animals on Your Homepage
  • Adding Animals to Sidebars and Other Pages
  • Using Banners and Subtitles Effectively
  • Overlays and Icons for Quick Visual Cues
  • Writing Effective Detail Page Instructions
  • Button Configuration for Conversion
  • Optimizing Performance with API Caching
  • Customizing Typography and Icon Sizes
  • Lost and Found Search Best Practices
  • Template Selection Guide
View Categories
  • Home
  • Knowledge Base
  • Shortcodes & Configuration
  • [pmp-detail] Reference

[pmp-detail] Reference

2 min read

[pmp-detail] Reference #

The [pmp-detail] shortcode displays a single field value for the current animal. Use it within detail templates or on pages where animal data is available.

Tip: You do not have to hand-type this shortcode. Junior and Preferred sites can generate a correct, copy-paste-ready [pmp-detail] string from the Shortcode Builder tab in the PetMatchPro admin. The builder shows only parameters valid for your partner, method, and license tier.

Basic Usage #

[pmp-detail detail="Name"]

Displays the value of the specified field for the current animal.

Parameters #

Parameter Required Values Description
detail Yes Field name (e.g., Name, Breed, Sex) The animal field to display.
value No Specific value within the field Extract a specific value from the field data. Some value options require a paid subscription.
case No lower, mixed, upper Letter-case transform applied to the rendered value. lower = all lowercase (default), mixed = title case via ucwords(), upper = all uppercase. Junior+.
replace No Any text string Replacement string substituted for whitespace runs in the rendered value. Useful for slug-style output (e.g., replace="-" turns “Lab Mix” into “lab-mix”). Junior+.

Examples #

Display the animal's name:

[pmp-detail detail="Name"]

Display the animal's breed:

[pmp-detail detail="Breed"]

Display a specific value from a field:

[pmp-detail detail="Location" value="city"]

Render the breed in title case (Junior+):

[pmp-detail detail="Breed" case="mixed"]

Render the species as a slug-style value with hyphens for spaces (Junior+):

[pmp-detail detail="Species" case="lower" replace="-"]

Use Cases #

This shortcode is most useful when you want to:

  • Display a single animal field in a custom page layout
  • Include animal data in sidebar widgets
  • Build custom templates that reference individual fields
  • Show a specific piece of information outside the main detail template

Notes #

  • This shortcode only works on pages where animal data is available (typically your detail page or within detail templates).
  • The detail parameter is required. The shortcode returns nothing without it.
  • Field names should match the field names used by your integration partner.

Next Steps #

  • [pmp-search] Reference — Search shortcode reference
  • [pmp-details] Reference — Full detail page shortcode
[pmp-detail] Reference ultima modifica: 2026-03-24T13:46:14-04:00 da PetMatchPro
Updated on April 28, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
[pmp-details] Reference[pmp-option] Reference

Submit a Comment Cancel reply

Your email address will not be published. Required fields are marked *

Table of Contents
  • [pmp-detail] Reference
    • Basic Usage
    • Parameters
    • Examples
    • Use Cases
    • Notes
    • Next Steps

© Copyright 2018-2026 by PetMatchPro, All Rights Reserved

  • Privacy Policy
  • Terms of Use
  • Disclaimer
  • Login