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 fastest performance.
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”).
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.
Учасники та розробники
“PetPress” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:Учасники
1) Cleaned up database tables, reconciled data types
2) Added PetPoint ID and Microchip ID as fields that can appear on detail page.
3) Removed separators between age / sex / weight when there is no data to separate
1) Shortened data refresh interval to 30 minutes (from 60 minutes)
2) BETA Added the ability to set up a “purge cache” page for special cases in which you can’t wait for the regular update interval. This is a BETA feature; any and all aspects are subject to change.
3) BETA “volunteer” list, the ability to set up a summary page showing which animals are lacking photos, videos and/or descriptions. This is a BETA feature; any and all aspects are subject to change.
1) Fixed issue with alphanumeric site IDs (if Org ID is erroneously used in place of Site ID should fail gracefully)
2) Added message to admin explaining that PetPress won’t output in admin mode
3) Shortened data refresh interval to 60 minutes (from 120 minutes)
4) “Stickies” overlays have been made slightly smaller.
5) BETA “found animals” list. Use shortcode parameter “report=found” and specify species (“0” for all species). This is a BETA feature; any and all aspects are subject to change.
1) Reformatted list page
2) Color accents for male/female optional
3) Admin setting to make Age and Weight on list page either general or specific
4) Admin setting to make video icon optional
5) “In a Foster Home” post-it note for animals whose locations or sublocations contains the word “foster”.
6) Restored five column layout for wide screens. Pets per page options changed to accommodate five column layout
7) Drop-down on list page for quick access to an animal by name
8) Restored breed name capitalization to AKC guidelines
1) Instead of loading PetPoint data on the first load after the cache expires, loading is now a background task, on two-hour cycle (staggered start times for dogs/cats/other). Removed cache option from admin.
2) Added No Dogs / No Cats / No Kids display option
3) Added Lived with Animals and Lived with Children display option.
4) Added Special Needs as a display option.
5) Added Location / SubLocation as a display option.
5) Added Behavior test result as a display option.
6) Added Reason for surrender as a display option.
7) Randomize photo feature now favors “Photo 1” over the other two photos.
8) Breed name capitalization as per MLA guidelines.
1) Added “loading” spinner animation when rosters are built or retrieved.
2) Added other types of animals: small and furry, pigs, reptiles, bird, barnyard. All PetPoint animal types now supported.
3) Added “Adoption Pending” flag for animals whose PetPoint “stage” value begins with “Adopted”
4) Added secondary breed to detail page. Note that if primary breed is a mix, then the secondary breed is not shown.
5) Added the ability to customize the accent colors for male, female, and unknown animals.
6) Fixed Facebook open graph data so that individual animals can be posted in Facebook (though this will be undone by Yoast and perhaps other SEO plugins that set their own canonical URLs)
7) New shortcode parameter, “showsite” will show site on the list and detail pages even if the setting is turned off globally.
8) Bug fix: Custom cache length may have been ignored in favor of the default.
9) Bug fix: “Other Animals” were being displayed, but they were being called “1003s”.
10) Minor CSS changes to avoid wrapping issues with the list view.
1) Bug fix: Resolves an issue in which animals added/removed from PetPoint were not being added/removed from the PetPress rosters.
2) Minor UI: changed “memo” classname to “pp_memo” to keep class names consistent.
1) Improved caching for multi-site organizations.
2) Added Rabbits and Horses as species that can be listed.
3) Added option to randomize the photos used on the list page.
4) Page titles on detail pages list name, species and breed.
5) Removed the auto-generated list headings. Note that the “heading” shortcode parameter can be used to create list headings.
6) To facilitate editing of web pages, the shortcode returns nothing while in the DIVI front-end editor or in admin pages.
7) Additional CSS fixes
1) Small change to facilitate faster loading of pages in the WordPress editor.
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.
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.