Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

PetFinder Sync

PetFinder Sync snippet.

=== Petfinder Sync ===
Contributors: josh.allen, kierheyl
Tags: adoptable pets, petfinder
Requires at least: 4.1
Tested up to: 4.1
Stable tag: trunk
License: GPL2
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Syncs your Petfinder adoptable pets database with your wordpress blog. Creates one blog post per pet. Have a complete listing of pets with a click of a button.

== Description ==
The Petfinder Sync plugin will automatically sync your wordpress blog with all of the adoptable pets in your Petfinder database. It's simple to setup, and easy to use.

When you sync your blog it will automatically create a post for each and every adoptable pet in your database. These posts will be tagged, categorized, and formatted for ease of use and clarity of content.

NOTE: At this time the plugin will delete all animals no long adoptable, which means that they will disappear from your site. This is done by applying a very specific meta value to each post it creates to ensure it doesn't delete any of your content. Do not apply this meta value to any of your other posts or else they will be subject to deletion as well.


== Installation ==
1. Register via petfinder for a petfinder API key.

2. Install and activate the plugin.

3. Configure the plugin with your shelter ID, and your petfinder API key.

4. Manually sync your posts by going to Posts->Sync Petfinder