Admin Settings Shortcode

[pmp-option] - use this shortcode to display the value of a settng within the PetMatchPro administration area.

Admin Settings Parameters

Name
Values
Description
type - required.
general, filter, contact or label.
Enclose the name of the admin tab in double quotes.
value - required.
The html id name for the desired adninistration setting.
Enclose the desired admin setting in double quotes. The id name can be found by inspecting the html code for the desired admin field.

NOTES: The use of bold values requires a paid subscription.

Admin Settings Shortcode Best Practices

  1. Use this shortcode to include any of the PetMatchPro settings in your website pages or custom templates.
  2. type - Only a single tab name can be used as a parameter.
  3. value - Only a single setting id can be used as a parameter. You will be required to format the value as desired.

Admin Settings Shortcode Example

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

This shortcode displays the value of the Adoption Phone setting from the Contact Options tab.