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

Pet Manager

描述

  • Animals as posts – every animal is kept as a post type, add a pet is like to add blog posts or pages.
  • Especial info – add specific info for every pet such type, age, size, colors, breed etc.
  • Frontend post – Let users to post animals from a page in your site.
  • Display Widget – display pets by category, status etc anywhere on your theme.
  • Search form Widget – a simple search form for pets.
  • Contact form (Jetpack or SlimJetpack is required) – Display a contact form so vistors can send an email to the post author.
  • Display Google Maps – display a static Google Map just by provinding an address.
  • Fully localized – ready to display info in your language.
  • Your own special info – you do’t need to stick to the info, e.g. you can use only the special you need such Status.
  • Works on BuddyPress – added BuddyPress suport so pet posts are aso listed in Activity Stream.

Please note though Pet Manager share some data with old ADA plugin, Pet Manager is not a update. If you need some help on migrating to this new plugin let me know in Pet Manager Suport Forum.

Advanced Info

Custom post type: pet

  • Taxonomies: pet-type, pet-status, pet-color, pet-gender, pet-age, pet-breed, pet-size, pet-coat and pet-pattern

  • Metadata: _data_pet_vaccines, _data_pet_desex, _data_pet_needs, _data_pet_address, _data_pet_email_option

安裝

  1. Install Pet Manager either via the WordPress.org plugin directory or by uploading the files to your server
  2. Go to Pets ? Options & About to add categories such gender, age, etc
  3. Verify the auto created pages in Pages: Add a Pet and Pets (titles can vary if you’re using translastion)
  4. That’s it. You’re ready to go!

常見問題

How to allow users to post pets?

In order to allow users to post in your site, firstly visit WordPress panel Settings > General, check the item Membership – Anyone can register and select an user role in New User Default Role, to at least Contributor.
The Pet Manager autocreate a Add a pet page where users can add pets only if the user is logged in, if not, a log in form is displayed. Any pet post submitted by non-editor/admins will be held for moderation.

Note that users will access default register page, but you can use any other plugin to create frontend forms, or even BuddyPress to keep users connect.

How the contact form works?

Every pet post can display a contact form (you can turn off this on every post), so visitors can contact the post author. You must use either Jetpack or SlimJetpack in order to use this feature.
Also, to avoid spam, is highly recommended to use Akismet.

What Add a Pet and Pets pages are for?

These page are auto generated to provide a place in your site to search and add pets, you can delete these pages if not wanting to use these features.

How to change/adjust the style

You can copy the plugin stylesheet at wp-content/plugins/pet-manager/inc/pet_styles.css into your own theme stylesheet.
In order to prevent plugin stylesheet from loading also, add the following to your functions.php:

add_action( 'wp_print_styles', 'my_deregister_styles', 100 );
function my_deregister_styles() {
    wp_deregister_style( 'pet-style' ); //Pet Manager

}

評價

2016年9月3日
Last updated 3 weeks ago, but compatible up to WP version 3.5.2 released in mid-2013 ??? Lesson learned... read WP version number first! I wasted time on something that is not compatible with the current version of WP, and simply does not work.
閱讀全部13個評價

貢獻者及開發者

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

貢獻者

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

對開發相關資訊感興趣?

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

修改日誌

1.4

  • Solved a CSS issue with IE
  • Solved pet submit form shortcade insert issues

1.3

  • Added CSS classes to every item in pet metadata
  • Added translation (de_DE)
  • Minor info page editions

1.2

  • Solved an issue with PHP 5.4

1.1

  • Added BuddyPress suport
  • Some strings cleaning
  • Some naming conventions change

1.0

  • First release