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

[pmp-search] Reference

3 min read

[pmp-search] Reference #

The [pmp-search] shortcode displays animal search results on your WordPress page. This is the complete reference for all available parameters.

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

Displays all adoptable animals using the default search template configured in your admin settings.

All Parameters #

Free Parameters (All Tiers) #

These parameters are available on every license tier.

Parameter Values Description
type adopt, lost, found, list, featured, preferred Search method type. Defaults to adopt. Lost/found/list/featured/preferred require appropriate license and partner.
template Template name (e.g., adopt-search-default) Search template to use. Non-default templates require Junior+. Shows upgrade message if tier is insufficient.
details Comma-separated field names Which animal fields to display (e.g., Name,Breed,Sex,Age).
filter enable, disable Enable or disable search filter widgets.
species Species name (e.g., Dog, Cat) Filter results to a specific species.
poster enable, disable Enable or disable the print poster button.

Junior Parameters (Junior License or Higher) #

These parameters are silently ignored on the Basic tier.

Parameter Values Description
subtitle Text string Subtitle text displayed below the search heading.
banner Text string Banner text displayed in the search results area.
row Number Number of results to display per row.
rows Number Number of rows to display.
pagination enable, disable Enable pagination for search results.
count Number Maximum number of results to display.
labels enable, disable Show or hide field labels in search results.
separator Character(s) Separator character between fields in search results.
client Client identifier Client-specific display options.
button_consistency enable, disable Style filter dropdowns to match sort buttons. Requires client="enable".
exclude Comma-separated values Exclude specific animals or values from results.
icon enable, disable Enable or disable icon display.
icons Number Maximum number of icons to display per animal.
overlay enable, disable Enable or disable photo overlays.
overlays Number Maximum number of overlays per photo.
overlay_filter Filter criteria Filter which icons appear as overlays.
overlay_position Position value Position of overlays on the photo (e.g., corner placement).
hide_empty true, false Hide fields with no value. When true, empty fields are dropped from the card entirely. When false (or omitted), empty fields render with the Not Defined placeholder. Overrides the per-method admin setting for the specific shortcode instance.
icon_size small, large, xl, or number Override icon display size on search cards. Named presets or a numeric pixel value (e.g., icon_size="32"). Also configurable in admin settings (General > Display Options).
title_size small, large, xl Override the search results title font size.
subtitle_size small, large, xl Override the search subtitle font size.
banner_size small, large, xl Override the search banner font size.
card_hover_text Any text, with optional {FieldName} tokens Override the hover/tooltip text on the card name link, photo link, and image. Defaults vary by method type (e.g., “Have You Seen {Name}?” for lost). See Search Card Hover Text.

Hide Empty Field Behavior #

The hide_empty parameter controls how empty (null, blank, or unknown) field values are displayed in search results:

  • hide_empty="false" – Empty fields render with the Not Defined placeholder. This matches the default behavior of prior releases.
  • hide_empty="true" – Empty fields are dropped from each card, tightening the layout.

For numeric fields where 0 is a data-entry placeholder rather than a real value (currently weight on PetPoint and AnimalsFirst), a zero value is also treated as empty. Currency fields such as fee and adoptionfee are exempt – a $0 adoption fee is a legitimate display.

There is also a per-method admin checkbox on the General > Display Options tab that sets the default for every page rendering that method type. The shortcode hide_empty parameter overrides the admin checkbox for the specific shortcode instance.

Template Parameter Behavior #

The template parameter works differently from other paid parameters. Instead of being silently removed on lower tiers, it displays a clear upgrade message explaining which license is needed.

Examples #

Basic adoption search:

[pmp-search type="adopt"]

Search with custom fields:

[pmp-search type="adopt" details="Name,Breed,Sex,Age"]

Filtered search (dogs only):

[pmp-search type="adopt" species="Dog"]

Search with filters enabled:

[pmp-search type="adopt" filter="enable"]

Search with pagination and row layout (Junior+):

[pmp-search type="adopt" pagination="enable" row="3" rows="4"]

Search with overlays and icons (Junior+):

[pmp-search type="adopt" overlay="enable" overlays="3" icon="enable" icons="5"]

Lost animal search (Junior+):

[pmp-search type="lost"]

Search with exclusions (Junior+):

[pmp-search type="adopt" exclude="Hamster,Guinea Pig"]

Search with empty fields hidden (Junior+):

[pmp-search type="adopt" hide_empty="true"]

Search overriding admin setting to always show empty fields (Junior+):

[pmp-search type="adopt" hide_empty="false"]

Next Steps #

  • [pmp-details] Reference – Detail page shortcode reference
  • Parameters by License Tier – See all parameters organized by tier
  • Common Shortcode Recipes – Copy-paste examples
[pmp-search] Reference ultima modifica: 2026-03-24T13:46:13-04:00 da PetMatchPro
Updated on May 2, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Shortcode Builder[pmp-details] Reference

Submit a Comment Cancel reply

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

Table of Contents
  • [pmp-search] Reference
    • Basic Usage
    • All Parameters
      • Free Parameters (All Tiers)
      • Junior Parameters (Junior License or Higher)
    • Hide Empty Field Behavior
    • Template Parameter Behavior
    • Examples
    • Next Steps

© Copyright 2018-2026 by PetMatchPro, All Rights Reserved

  • Privacy Policy
  • Terms of Use
  • Disclaimer
  • Login