PetPress version 1.3.2

by | Mar 7, 2022

(This post is intended for people who are using and integrating the PetPress plugin, and it is unabashedly geeky in parts.)

A minor update is coming to PetPress in early March. As always, once the new version is released the documentation will be updated, so check there for notes on how to use new features.

 

  • Added all remaining animal types. PetPress now supports all animal types in PetPoint (full list in the documentation).
  • Added “Adoption Pending” messages. Animals with adoptions pending will have the “Adoption Pending” sticky on their list tile as well as a message inserted into their bio/write-up on the detail page. This needs to be enabled in the settings and the animal must be in a PetPoint “stage” that begins with the word “Adopted”.
  • Secondary breed. In the animal detail page, the breed of the animal is now shown as Primary Breed / Secondary Breed, if a secondary breed is indicated in PetPoint. Note that if the primary breed has “mix” in its name, the secondary breed is suppressed (to avoid labels like “large mixed breed / mix”)
  • Accent color flexibility. You can now select the male, female, and gender unknown accent colors from the settings page.
  • New shortcode parameter, “showsite”. For multi-site organizations, you now have the option to turn off the site field in settings but enable it selectively using the shortcode parameter “showsite”. 
  • Facebook sharing. Prior to version 1.3.2, it may have been difficult to create a Facebook post for an individual animal because the list information would appear instead in the post. With this update, the individual animal’s information is included in the post instead (see documentation for details and interoperability issues with SEO plugins).
  • Fixed “1003s” bug. Prior to version 1.3.2, using species ID “1003” to show all non-dog/non-cat animals did list animals correctly, but the auto-generated labels for the list (and the footer) used the phrase “1003s” to refer to the animals. Now, the label is “Other Animals” (which is actually a misnomer, but works well for shelters who typically have dogs, cats, and “other”)
  • Fixed warning message. Although a non-fatal error, an ugly message would sometimes be shown if the last adoptable animal in a particular site/species is removed from the roster (eg: you have one dog, and it gets adopted) before the cache has been refreshed.