| 开发者 | jeromewincek |
|---|---|
| 更新时间 | 2026年12月3日 05:54 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/, or install it through the Plugins screen in WordPress.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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
No. The blocks use the WordPress Interactivity API and ship as ready-to-run source — no compilation needed.
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.
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.
pet_* taxonomy, such as pet_breed, installing this plugin could move that plugin's terms into its own. A new install now runs no upgrade steps, and deleting the plugin leaves other plugins' taxonomies alone.wp shelterkit-pets export prints to the terminal only, and the --file option is gone. Redirect the output instead: wp shelterkit-pets export > pets.csv.petsync_adopted_statuses filter turns it off.image and gallery columns are downloaded in the background.vcps_pet_*. Page addresses and the REST API keep the old names; code that queries pet_breed and the others by name needs the new ones.wp shelterkit WP-CLI commands. Use wp shelterkit-pets.wp shelterkit-pets export, import and migrate. The old wp shelterkit names still work, with a warning.wp shelterkit migrate, so a database upgrade can be run deliberately with --dry-run first.