Skip to content

Latest commit

 

History

History
26 lines (13 loc) · 994 Bytes

README.md

File metadata and controls

26 lines (13 loc) · 994 Bytes

Sphere Wordpress

This project is an demo for using Sphere API on WordPress.

Sphere:

  1. Setup account in Sphere

  2. Create new project and products

  3. Get Sphere API credentials

Wordpress:

  1. Install WordPress

  2. Install UI Theme of your choice (for our demo we used one of the preinstalled themes called: "Twenty Eleven")

  3. Add Sphere API credentials to "config.php" (taken from official PHP example: Example

  4. Copy both edited "config.php" and "app.php" into the root directory of wordpress installation folder.

  5. Edit "content-page.php" from selected theme's ("Twenty Eleven") folder and add Sphere API call for products query and view. Example

Integration demo: http://teama.herokuapp.com