=== PetPress === Contributors: brygs Tags: animal shelter, animals, pets, PetPoint, adoptable pets Donate link: paypal.me/airdriemedia Requires at least: 5.7 Tested up to: 5.9 Stable tag: 1.2.1 Requires PHP: 7.4 License: GPL v2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html PetPress allows PetPoint users to create lists and detail pages for animals in their shelter(s). == Description == PetPress allows PetPoint users to create lists and detail pages for animals in their shelter(s). By using a shortcode, you can list animals in a shelter location by species, or you can show the details of an individual animal. Results pulled from PetPoint are cached in the local database for faster recovery (check www.airdriemedia.com/petpress for more information). == Installation == 1) Contact PetPoint and request that web services be turned on for your organization. https://pethealth.force.com/community/s/contactsupport 2) Install and activate PetPress plug-in. 3) Under settings->PetPress, enter your PetPoint authorization key (found in PetPoint at "Admin > Admin Options > Setup > Online Animal Listing Options"). Note that webservices within PetPoint have to be enabled (contact PetPoint support to enable this). 4) Create a Wordpress page with a shortcode, eg: [PETPRESS site="5555" species="1"] (to show dogs in site 5555 ... use your own site(s) here, or "0" to show all animals). 5) See www.airdriemedia.com/petpress for more options. == Screenshots == 1. Animal list page 2. Animal detail page 3. Settings page == Changelog == Version 1.2.1: 1) Small change to facilitate faster loading of pages in the Wordpress editor. Version 1.2: 1) Added "site" and "price" as displayable fields. 2) Added "heading" as a shortcode parameter. If specified, this overrides the auto-generated “Dogs at Rescues-R-Us” heading at the top of list pages. 3) New CSS for list pages adjusts the size of the tiles for a better fit. 4) Bug fix: Resolves an issue discovered for websites using the Themify Builder that resulted in the lists of animals sometimes showing each animal twice. It is unknown if the problem extended beyond the Themify Builder. 5) Bug fix: Animal names longer than 14 characters will show 12 characters plus an ellipsis (“…”) so that the list page layout is not disrupted. Version 1.1: 1) Bug fix: Prior to fix, sometimes PetPoint would be called for an individual animal's record even though there was a cached item recent enough to use instead. 2) Added "sort" as a shortcode parameter. Valid values are "age", "name", and "weight". Default sort is by name. Sort parameter in querystring gets precedence over sort parameter in shortcode. 3) Added "housetrained" and "on hold" as displayable fields. 4) Changed "video" icon from an image to a WordPress dashicon. 5) Added test to make sure that "site" parameter is numeric. 6) Re-stated minimum WP requirement from 5.8 to 5.7 after testing with 5.7. Version 1.0: Initial production version.