Linux 软件免费装
Banner图

ShelterKit Pets

开发者 jeromewincek
更新时间 2026年12月3日 05:54
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

pets adoption animals animal shelter rescue

下载

3.0.0

详情介绍:

ShelterKit Pets puts your shelter's adoptable animals on your own website as a custom post type, then gives you a full set of blocks to display and filter them on the front end — so the listings live on your domain, get indexed by search engines, and match your theme, rather than sitting inside a third-party embed. Add animals by hand from the WordPress editor, import them from a spreadsheet, or connect a Petstablished account and have them imported and kept up to date automatically. All three work the same on the front end, and they can be mixed — a sync only ever touches the pets it imported itself. Kennel cards print straight from the same records, so the card on the kennel and the listing on your website never disagree — and nobody retypes an animal's details into a word processor. Built on the modern WordPress stack — the Abilities API, Block Bindings, and the Interactivity API — so the front end is reactive (favorites, compare, filters, galleries) with no build step required. Petstablished is the supported platform today; support for additional shelter-management platforms (such as Shelterluv) is planned. No platform account is required — the plugin works standalone. Features This plugin is not affiliated with, endorsed by, or sponsored by Petstablished, Adopt-a-Pet, RescueGroups.org, Shelterluv or Petfinder. Those names are trademarks of their respective owners and are used here only to describe compatibility. Of the shelter platforms named above, only Petstablished is ever contacted. The plugin ships field mappings describing how other platforms name their data, so that support for them can be added later, but nothing in this release sends a request to any of them.

安装:

  1. Upload the plugin folder to /wp-content/plugins/, or install it through the Plugins screen in WordPress.
  2. Activate the plugin through the Plugins screen.
  3. Go to Pets → Add New and enter your first animal — name, photo, description, and the species/breed/age/size details in the sidebar panels.
  4. Add the pet blocks to your pages and templates from the block inserter.
Using Petstablished? Instead of step 3, go to Pets → Sync Settings, enter your public API key, and click Sync Now to import your listings. Optionally enable scheduled syncing to keep them current.

屏幕截图:

  • Kennel cards printed straight from the same records that drive the website, four to a sheet. Nothing is retyped, so the card on the kennel and the listing online cannot disagree.
  • Choose the animals, choose a size, print. Cards for a whole run of kennels in about a minute.
  • Every animal gets a full page: photo gallery, health, temperament, and a way to apply.
  • Add an animal by hand — adoption fee, health and temperament in grouped panels in the editor. No platform account is needed for any of it.
  • Already keep your animals in a spreadsheet? Upload it and see exactly what will happen before anything is written — every row checked, every column matched, nothing changed until you say so.
  • Compare animals side by side, so a family can weigh up two dogs without losing track of either.
  • Already using Petstablished? Connect it and your listings are imported and kept current on a schedule you choose.

升级注意事项:

3.0.0 Updating from a version before 2.2.0? Install 2.2.0 first and open any admin page, as 3.0.0 cannot convert older data. Also fixes the favorites window opening empty on WordPress 7.2, so install this before updating WordPress. 2.2.0 Fixes a new install taking over another plugin's pet_* taxonomies. Other sites now hear whether a pet was adopted only for pets you have published. WP-CLI: export no longer takes --file; redirect its output instead. 2.1.0 Other sites that show your pets can now ask whether a pet that is no longer listed was adopted, and learn nothing else about it. To share nothing, return an empty array from the petsync_adopted_statuses filter. 2.0.0 Synced pets are now shown only if Available, Adoption Pending or On Hold. An edited kennel card won't get the new bonded-pair line: see the FAQ. Developers: taxonomies are now vcps_pet_* (update pet_breed etc. in code), and wp shelterkit CLI is gone; use wp shelterkit-pets. 1.6.0 Security: any visitor could read pets' microchip numbers through the REST API. They are now visible only to staff. Also fixes the Pet Details block editor and adds 25 block settings. WP-CLI commands are now wp shelterkit-pets; the old names still work for now. 1.5.0 Half-page cards printed one per sheet instead of two, and a full-page card left half the sheet empty. Both fixed — reprint any cards made at those sizes. If you have edited the card design in the Site Editor, these fixes will not reach you: see the FAQ. 1.4.0 Printed kennel cards were cut off at the bottom, losing your shelter's name, address and phone number, and photographs were cutting off the animal's head. Both fixed — reprint any cards you have made. Also adds WordPress 7.1 support. 1.3.1 The "Search engines" setting added in 1.3.0 would not save. If you tried to switch structured data on and it did not stick, this is why — update and switch it on again. 1.3.0 Kennel cards were printing placeholder instructions unless you had edited the card design. Enter your details under Pets → Shelter Details, then reprint. Also adds optional structured data for search engines. 1.2.0 Fixes two visitor-facing bugs. Sharing a comparison link used to clear the recipient's own saved comparison list, and printed kennel cards broke words across lines. Both are fixed; reprint any cards made with 1.1.x. 1.1.1 Fixes missing "Bonded Pair" badges in pet listings. If you have bonded pairs and upgraded to 1.1.0, update — the badge is currently missing everywhere except each animal's own page. 1.1.0 The plugin is renamed to ShelterKit Pets. Your pets, photos and placed blocks carry over untouched. If you have taken a CSV or JSON export before now, re-export it — descriptions were missing from the portable format. 1.0.0 Initial public release.

常见问题:

Do I need a Petstablished account?

No. You can add pets by hand from the WordPress editor — name, photo, description, species, breed, age, size, sex and color, plus adoption fee, health and compatibility details. Every block works the same either way. If you already keep your animals in a spreadsheet, Pets → Import will take it in one pass rather than making you retype it. And if you do use Petstablished, connect it and your listings are imported and kept up to date automatically.

I have a spreadsheet of animals. Can I upload it?

Yes. Save it as CSV ("CSV UTF-8" in Excel is best, but Excel's older CSV format and semicolon-separated files work too) and go to Pets → Import. Photos come in too: put each pet's photo address in an image column, and more in a gallery column separated by |; they download after the import, in the background. Column headings are matched loosely, so "Good with dogs?" finds the right field and you do not have to rename anything; only a name column is required. You get a preview showing how each column will be read, which you can change, and exactly what will be added, changed or skipped. Nothing is written until you confirm, and what you confirm is the file you previewed. Re-uploading a corrected sheet updates the animals already on the site rather than duplicating them, matching on microchip number or, in a file exported from this site, on each pet's id. Imported pets count as hand-entered, so a later sync from a connected platform will never overwrite or unpublish them. A pet synced from a platform is never changed by an import; edit it on the platform. Pets → Export produces a file in the same format, so an export can be edited in a spreadsheet and imported straight back. Descriptions come out as plain paragraphs, and a pet's several breeds or colours are separated by |. To keep a complete backup, include unpublished pets: each keeps its post status, so importing the file into an empty site does not publish drafts. Each pet's main photo travels as its address in an image column.

Can I mix pets from a platform, a spreadsheet and the editor?

Yes. Each pet records where it came from. A sync only ever updates the pets it imported itself, so hand-entered pets are never overwritten and never removed when an animal leaves the platform. Fields on imported pets are read-only in the editor, because the platform is the source of record for them. A synced pet is shown only if its status is one you choose under Pets → Sync Settings (Available, Adoption Pending and On Hold by default), and only available pets offer the adoption application. To take a synced pet off the site, hide it on the platform: the next sync republishes one drafted in WordPress. Species to sync, on the same screen, limits which animals are synced; empty syncs every species.

Can I print kennel cards?

Yes. Go to Pets → Kennel Cards, choose the animals and a size, and print. Cards are built from the same records that drive your website, so they cannot drift out of step with what visitors see. The design is a block template part. Open Edit card design to rearrange it in the Site Editor — move the photo, add or remove details, put your shelter's contact information in the footer — and every card printed afterwards follows the new layout.

Something on my kennel cards is cut off. What do I change?

A card prints in a fixed space, so if an animal's details run longer than that space the bottom of the card is trimmed — and because the shelter's contact line sits at the foot of the card, that is usually the first thing to go. Long breed names and long age wording are the common causes. The fix is to show fewer things rather than to make them smaller. On the print screen choose Edit card design, select the Pet Attributes block, and switch off the details you do not need on a card someone reads from a corridor — Coat Pattern and Weight are the usual candidates. The Pet Health block has the same switches, plus two settings that save more room than anything else: Which to show, set to "Only what is true", and turning off Show Yes/No wording so the tick and cross stand on their own. Neither affects screen readers, which read the answer either way. Every card printed afterwards follows the change. If you would rather keep all the detail, printing one animal per page gives roughly twice the room.

I edited the card design. Why do card fixes in an update not reach me?

Because the design is now yours. The moment you change the kennel card in the Site Editor, WordPress saves your version to the site's database and stops using the one shipped with the plugin — that is what lets your layout survive every future update. The trade-off is the other direction: improvements we make to the shipped card, including fixes to how it fits the page, do not reach a card you have customised. If you have edited the design and an update's notes describe a printing fix you are not seeing, that is why. To take the new version, open Appearance → Editor → Patterns → Template parts, find Kennel Card, and use Reset. That restores the shipped design and discards your changes, so note anything you want to redo first — your shelter's contact details are stored separately under Pets → Shelter Details and are not affected.

Can I choose which health details appear on a pet?

Yes. Select the Pet Health block and use the sidebar: Spayed/Neutered, Vaccinations, House Trained, Special Needs, Hypoallergenic and Declawed each have their own switch. Declawed only ever shows for cats, whatever the switch says. Which to show decides how unanswered questions are treated. "Known answers only" hides anything not recorded, which is the default. "Everything" shows those as unknown, which is useful on an intake sheet. "Only what is true" lists just the answers that apply to that animal, which reads well on a printed card because everything on it is a fact about the animal in front of you.

Does the sync run automatically?

You can enable automatic syncing on a schedule from the Sync Settings screen. It runs through WP-Cron. You can also sync on demand at any time with the Sync Now button.

Will syncing delete pets that are no longer in Petstablished?

No. A pet that is no longer in Petstablished's listing is unpublished (set to draft) on the next sync, and the Pets list says why. If it comes back, the next sync publishes it again. Nothing is deleted, and pets added by hand or from a spreadsheet are never touched by a sync.

Can another website show our adoptable pets?

Yes. Published pets are public through the WordPress REST API, so a supporter's site can feature them and link to each pet's page here. When one of those pets stops being listed, that site can ask whether it was adopted, and say it found a home only if it was. It learns nothing else about a pet you no longer show: not whether it was returned, transferred or euthanized. A pet you never published is never reported at all. Developers: see the petsync/check-adoptions ability. The petsync_adopted_statuses filter turns it off, or adds statuses of your own that mean adopted.

Is a build step required?

No. The blocks use the WordPress Interactivity API and ship as ready-to-run source — no compilation needed.

How should I back up my pets?

Back up the database as often as the rest of your site. Every pet's details live there. A sync can recreate the pets it imports from Petstablished, but nothing can recreate the ones you added by hand or from a spreadsheet. Back up your Media Library folder (wp-content/uploads/) too. Photos you uploaded yourself, gallery images included, exist only there. A synced pet's main photo is a file there as well, but if it goes missing, the next sync downloads it again from Petstablished for as long as your account is active. Pets → Export, with unpublished pets included, gives you a spreadsheet of every pet that imports straight back into an empty site. It records each pet's main photo by its address, so an import on a new site downloads them again while the old site is still online. Gallery images are not in the export.

What happens to my data if I delete the plugin?

By default, deleting the plugin keeps your data — imported pets, settings, and template customizations all stay in place, so you can delete and reinstall without losing anything. Only temporary state (the sync schedule and caches) is cleaned up. To remove the plugin's data on deletion instead, enable Delete all data when this plugin is deleted under Pets → Sync Settings first. That deletes every pet however it was added, the pet categories, your kennel card design changes, the plugin's settings, and visitors' saved favorites and comparisons. Imported pets can always be re-fetched with one Sync Now; pets you entered by hand or from a spreadsheet exist only in WordPress, so keep the default unless you mean it. Pet photos are kept either way. They are ordinary Media Library items and may be in use elsewhere on your site, so delete any you no longer want from Media → Library, where they show as unattached.

更新日志:

3.0.0 2.2.0 2.1.0 2.0.0 1.6.0 1.5.0 1.4.0 1.3.1 1.3.0 1.2.0 1.1.1 1.1.0 1.0.0