Git Product home page Git Product logo

bike-index-sync's Introduction

Bike Index Sync Wordpress Plugin
=============

The Bike Index Sync Plugin gives you, a valid organization registered at bikeindex, (bikeindex.org) the awesome ability to sync stolen bikes back to your site for easy access.

Installation
-----------

    * Download the plugin and install in the plugins directory.
    * Visit Settings -> Bike Index Sync Settings and configure the plugin.
    * Because we're downloading bike data periodically, we highly recommend that you set up a real cron job to trigger the wp_cron api every hour. This will ensure that your site stays fast for everyone. For directions that cover this setup, check out: https://rtcamp.com/tutorials/wordpress/wp-cron-crontab/
    Once you set this up, the bike sync will happen entirely behind the scenes.

Usage: Shortcodes
-----

    Once the cron is set up, and the credentials are properly configured, your site will start downloading bikes when they are available. There is a list template view you can set up by including a shortcode on a page of your choice. We recommend that you create a page specifically for this purpose. Simply create a page, and place only the following code inside:

    `[bike_table]`

    A table of bike data will now appear on this page. (As long as the bikes are populating under the "bikes" tab in the Dashboard)

    Another shortcode is available for generating a bike submission form for your organization. Once the org data is set up in settings, you can create a blank page, and place the following code inside: 

    `[bike_submit_form]`

    A form will appear in that will allow your users to submit bikes to the index, through your organization's accounrt.

More Info
-----
Bikes are stored as custom post types, so you can link to bikes from your existing Wordpress pages by using the "Link to existing content" option when creating links.

Like posts, and pages, you can also include bikes in your menus.

bike-index-sync's People

Contributors

purcebr avatar bhance avatar

Stargazers

 avatar Seth Herr avatar

Watchers

 avatar James Cloos avatar Seth Herr avatar  avatar

Forkers

bhance

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.