Giter Club home page Giter Club logo

pet-adoption-listings's Introduction

Pet Adoption Listings

Display adoptable pets from an Adopt-a-Pet.com shelter's listings.

Support Level Release Version WordPress tested up to version GPLv2 License Follow @ChrisHardie

Description

This plugin provides two easy ways to display listings of adoptable pets from a shelter's profile at Adopt-a-Pet.com via iframe.

The first way is with a shortcode pet_adoption_listings that can be included in any post or page content. When used it will show the shelter's available pets from their Adopt-a-Pet.com profile. The only required attribute is shelter_id (obtained from Adopt-a-Pet.com) but you can also specify the iframe width and height.

The second way is with a widget that can display available pets in your sidebar or wherever else widgets are in your theme. You can specify the Shelter's ID (required, obtained from Adopt-a-Pet.com), the types of pets to show (defaults to All), and the height of the listing.

All pet detail links will open in a new browser window or tab on the Adopt-a-Pet.com website.

The shortcode definition in the post editor

The shortcode definition in the post editor

The shortcode front-end display

The shortcode front-end display

The widget configuration options

The widget configuration options

The widget front-end display

The widget front-end display

Requirements

Installation

Pet Adoption Listings is most easily installed automatically via the Plugins tab in your dashboard.

Support Level

Active: I actively maintain this project, and expect to continue work for the foreseeable future including keeping tested up to the most recent version of WordPress. Bug reports, feature requests, questions, and pull requests are welcome.

Contributing

Pull requests and issues on GitHub are welcome.

pet-adoption-listings's People

Contributors

chrishardie avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

pet-adoption-listings's Issues

Add block editor support

In https://github.com/ChrisHardie/pet-adoption-listings/tree/feature/gutenberg-block I'm working on support for the new Gutenberg block editor, as an alternative to using a shortcode.

So far I've:

  • Introduced the basic block scaffolding
  • Enabled a block that is server side rendered
  • Added block controls for the attributes that the shortcode supports

Remaining to-do items include:

  • Better handling of invalid or empty attributes in the block controls
  • Only load the related code if Gutenberg is activated?
  • Find a better block icon
  • Further browser testing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.