Giter Club home page Giter Club logo

wordpress-pco-api's Introduction

wordpress-pco-api

Provides a WordPress framework for the Planning Center Online API, and includes useful example scripts.

See it in action: http://beltway.org/worship/what-were-singing/

Requirements

You'll need the PECL OAuth module installed on your server.

Usage

When you enable this plugin in WordPress, you'll be able to access a page in the WordPress admin (under Settings > PCO Connection) where you can connect WordPress with your PCO account. Simply enter your Consumer Key and Consumer Secret and you're good to go.

This plugin was really built to provide a very specific feature for my church. If you want to customize it very much, you'll need to edit the underlying code.

The included shortcode pulls the two most recent PCO Plans from a PCO Service and displays all the songs from these plans. I made this functionality in order to build a "What We're Singing" page for our church website that displays the songs from the most recent two Sunday Mornings. It will also display handy links to iTunes, Spotify, or Amazon if visitors would like to donwload those songs (note that the songs and their arrangements must be linked to each third-party service inside PCO).

Here's the shortcode to use the sample script: [whatwearesinging servicetype="12345" showauthor="true" showcopyright="false" showmedialinks="true"]

servicetype is the ID of the service you'd like to pull plans from. You can get this number by logging into PCO and looking at the URL of the service type you'd like to pull from.

The other parameters are fairly self-explanatory once you load up the page. Any of the showXXX parameters can be either true or false.

wordpress-pco-api's People

Contributors

garrettjohnson avatar johnellmore avatar

Watchers

 avatar  avatar  avatar

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.