DISCONTINUED - WP APP STORE HAS BEEN SHUT DOWN. Integrate the WP App Store into your theme/plugin to sell addons
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
classes
README.md
wp-app-store-integration.php

README.md

WP App Store for Product Integration

The purpose of the code in this repo is to integrate the WP App Store into your theme or plugin and enable you to sell addons for that theme or plugin. This particular code was built specifically for integration with Modern Tribe's Events Calendar plugin. However, it can easily be adapted to fit into your theme or plugin as described below.

Adapting for Your Theme or Plugin

  1. Open wp-app-store-integration.php
  2. Replace the value of $parent_sku with the SKU of the product you are integrating this into
  3. Replace the value of $affiliate_id with your affiliate ID
  4. Replace the value of $parent_slug with the slug of the top level menu item you want to add this to
  5. Replace the value of $addons_menu_title with the title of the page
  6. Replace the value of $this->slug with your own prefix instead of tribe-
  7. Replace instances of Tribe_ and tribe_ with your own prefix
  8. Open classes/wp-app-store.php
  9. Replace instances of Tribe_ and tribe_ with your own prefix

Integration

  1. Copy all of the files in this repo to your theme or plugin directory
  2. Follow the instructions above to adapt the settings to your own theme or plugin if you haven't already
  3. Add include "/path/to/wp-app-store-integration.php" to your theme's functions.php file or for a plugin, your primary plugin file

Change Log

0.1 (2012-07-18)

  • Initial release