這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Pets

描述

With this plugin you can manage any WordPress site with Pets.

With the custom Fields Manager, you can add as many fields as you need for your own pets.

This plugin comes with 2 custom taxonomies: Breed and Colors.

If you want to accept donation, this plugin integrates with Give, a plugin for donations. People can choose to donate to all your pets or only to one.

Current Features:

  • Managing Pets
  • Two Taxonomies (Breed and Color)
  • Custom Fields & Sections
  • Archive Search Form
  • Archive Grid Layout
  • Widgets
  • Shortcodes

Shortcodes:

[pets_single id=0 image=true info=true] (Set image or info to false)

[pets_petfinder] – Show the Petfinder search from and animals. Check https://www.petfinder.com/developers/v2/docs/#get-animals for all attributes.

[pets_archive] – Display anywhere. Attributes: limit – number of pets per page, filter – which fields to use to filter the pets, filter_value – which values should a filter have, hide_nav – if set to 1, it will hide navigation, orderby – if set, it will use that to order

Example:

[pets_archive filter=adoptable filter_value=0] -> Will show every pet that is not adoptable, filter ‘adoptable’ is the field slug.
[pets_archive filter=adoptable,height filter_value=1,20] -> Will show every pet that is adoptable, with height of 20 (field slugs are adoptable and height)
[pets_archive orderby=rand hide_nav=1 limit=10] -> Show 10 random pets without navigation

Roadmap (planned features):

  • Supplies you need for your pets (integrated with Give)
  • Favorites
  • Partners (such as Vet stations)
  • Activities (people can take a dog from shelter for a walk in the park)
  • Found/Lost Pets
  • Integration with various APIs such as PetFinder
  • Better Templates

You’re welcome to give your own ideas and features in the support forum.

There will be a PRO version with a few features. 90% of the money will go into buying supplies for the animal shelter near the contributor(s) location. 10% will be spent on processing fees.

安裝

  1. Install the Pets plugin from the WordPress Plugins Menu
  2. You can also install it by uploading the Pets zipped folder in wp-content/plugins/
  3. Activate it.

常見問題

My Give Form does not include pets. What to do?

Make sure you have set the donation form under Pets > Settings > Give.

Petfinder Search Form does not work

Please make sure to create the fields under Pets > Fields to match the Petfinder attributes found on https://www.petfinder.com/developers/v2/docs/#get-animals.

For example, for attribute status, create a field:

  • Name: Status (or any other)
  • slug: status (Important to be the same as attribute on Petfinder)
  • type: dropdown
  • options: Adoptable, Found, Adopted

評價

2022年4月24日
The best solution to add missing pets to your site.
2022年4月7日
Hello Igor, thank you so much for your response (even if it is now a year ago, but wanted to let you know that i’ve found a work around to my quandary of “With running a rescue, sometimes it is great to have particular information with adopted or soon to be adopted dogs profiles – such as Foster Carer details, even adoption details e.g. names and phone numbers. However, this information needs to be private – as in not displayed to the public.” The simplest way I can come up with is to have a special user role such as “Rescue Coordinator”. Create the private fields needed with Advanced Custom Fields (ACF). Integrate these fields only for the pets posts, and only for Rescue coordinators – without publishing them to the front end. It’s a clunky way – but by doing this, I can also create groups of fields for the pets documents, and even give access to certain fields – such as desexing pdf files to only the person fostering that dog – and then later to the new dog’s owner. If anyone would like to know more – am happy to write up a process for this in the near future when things have calmed down – we have lots of intakes at the moment. Thank you so much for your response Igor, and thank you for any considerations to my quandary in the future.
2020年1月14日
I have used another plugin to display pets for rescue organizations for years, but decided to look into other options when that plugin wasn’t yet ready for the new Petfinder API. I came across the Pets plugin and have been impressed with the developer’s willingness to address user requests. Besides linking to Petfinder listings, the Pets plugin also offers other custom fields for organizations to feature their pets.
閱讀全部2個評價

貢獻者及開發者

“Pets” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Pets 外掛目前已有 2 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Pets 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.4.1 – 2022-04-17

  • Security Fix

1.4.0 – 2021-04-04

  • New attributes in pets_archive shortcode, filter, filter_value, orderby and hide_nav (please check in the description how to use them)
  • New Settings: Search Filter. You can set fields that are not searchable to be applied to the global search.
  • Freemius update

1.3.2 – 2020-11-23

  • Fix: Per Page setting was not used. Was showing only 2 per page.

1.3.1 – 2020-11-17

  • Refactor: Wrapping the software license code in case it exists already.

1.3.0 – 2020-11-15

  • New: Custom Fields can be added to Widgets – Add Pet and Add Missing Pet. You need to check them to be there.
  • New: [pets_archive] shortcode to display the archive anywhere.
  • Fix: Search form not displayed if there are no search parameters found.
  • Fix: Petfinder API fixed to perform queries only on known parameters.
  • Update: Freemius service updated.

1.2.1 – 2020-08-26

  • Fix: Petfinder search form fixed and FAQ added

1.2.0 – 2020-07-15

  • New: Add a Pet Form which will always add a new pet.
  • New: Setting to define which default status a new pet will be added to.
  • New: Setting to email about any new missing pet added.
  • New: Setting to email about any new pet added.
  • New: Actions on each missing or new pet added.
  • Fix: Missing Pet image could not be added.
  • Fix: GiveWP Form on a single pet page would load multiple forms.
  • Update: License Software

1.1.0 – 2019-09-20

  • New: Widget: Pet – Add Missing. You can now show a widget for reporting missing pets.
  • New: Show Missing in Search option – Show all reported missing pets in the search as well.
  • New: Missing Post Status. When viewing pets in the admin area, you will see “Missing Pet” state next to it.
  • New: Bulk Action – “Set to Missing” – for Pets to set them to missing in the admin area.
  • New: Bulk Action – “Set to Published” – for Pets to set them to published if they were missing and found.
  • New: PetFinder shortcode attributes.

1.0.0 – 2019-09-20

  • New: Dropdown and Radio fields can be multiselected when searching.
  • New: PetFinder integration. Add keys under Settings and a [pets_petfinder] shortcode in a page.

0.5.1

  • Fix: Custom Empty Search Fields would not return all pets.
  • Fix: Hiding taxonomies if no terms (colors or breed).

0.5.0

  • Fields can now also be defined as searchable and they’ll appear in the search form.
  • Pet Locations

0.4.1

  • Fixing error when donating for pets where sponsors would cause a fatal error.

0.4.0

  • Sponsors for Pets
  • Give integrated with Sponsors
  • Pet Search Widget

0.3.0

  • Added Sections for Fields

0.2.1

  • Fixed styles
  • Fixed Single Pet short description

0.2.0

  • Added a Widget for Single Pet
  • Added a Shortcode for Single Pet
  • Added a Grid Layout on Archive page
  • Added a Search form on Archive page

0.1.0

Basic features added.