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-option] Reference

[pmp-option] Reference

3 min read

[pmp-option] Reference #

The [pmp-option] shortcode displays the value of a setting from the PetMatchPro administration area. Use it to surface configured values — like a phone number or email address — directly on your site pages or in custom templates.

Tip: You do not have to hand-type this shortcode. Junior and Preferred sites can generate a correct, copy-paste-ready [pmp-option] 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-option type="contact" value="adoptable_phone"]

Displays the value of the Adoption Phone setting from the Contact Options tab.

Parameters #

Parameter Required Values Description
type Yes general, partner, color, contact, label, fonts (Junior+) The admin settings tab containing the desired setting. partner reads partner-specific filter settings (API source, status overrides) and matches the “Partner” label shown in the Shortcode Builder. The legacy form type="filter" is still accepted as a synonym for backward compatibility.
value Yes HTML id of the admin setting field The specific setting to display. Find the id by inspecting the HTML of the desired field on the admin settings page.

Tier Access #

The type parameter determines which license tier is required:

Type Tier Required
general Basic (Free)
partner (or legacy filter) Basic (Free)
color Basic (Free)
contact Basic (Free)
label Basic (Free)
fonts Junior+

Note: The Shortcode Builder lists six option types, but the Filter Values option group (filters-customize) is intentionally excluded from [pmp-option] — its values are nested arrays of per-field exclusions and label overrides, not scalar strings, so the shortcode cannot render them as a single value.

If your license tier doesn’t have access to the specified type, an upgrade notice is displayed instead of the value.

Examples #

Display the adoption phone number:

[pmp-option type="contact" value="adoptable_phone"]

Display the support email:

[pmp-option type="contact" value="email_support"]

Display a general setting value:

[pmp-option type="general" value="api_key"]

Display a partner-specific filter setting:

[pmp-option type="partner" value="api_source"]

Display a font size value (Junior+):

[pmp-option type="fonts" value="font_size_search_title"]

Use Cases #

This shortcode is most useful when you want to:

  • Display contact information (phone, email) from your PetMatchPro settings on any page
  • Keep displayed values in sync with admin settings — change it once in the admin, and it updates everywhere
  • Reference configured values in custom page layouts or templates

Notes #

  • Both type and value are required. The shortcode displays an error message if either is missing.
  • Only a single setting can be displayed per shortcode instance. Use multiple shortcodes for multiple values.
  • The value parameter must match the HTML id attribute of the admin field. Inspect the field on the admin settings page to find it.
  • The shortcode returns the raw value without formatting — you are responsible for any display formatting needed.

Next Steps #

  • [pmp-search] Reference — Search shortcode reference
  • [pmp-details] Reference — Full detail page shortcode
  • [pmp-detail] Reference — Single field display shortcode
[pmp-option] Reference ultima modifica: 2026-03-27T11:05:26-04:00 da PetMatchPro
Updated on April 27, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
[pmp-detail] ReferenceParameters by License Tier

Submit a Comment Cancel reply

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

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

© Copyright 2018-2026 by PetMatchPro, All Rights Reserved

  • Privacy Policy
  • Terms of Use
  • Disclaimer
  • Login