该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.