![]()
Contributors: Matt Kendrick
Tags: cafepress, t-shirts, ad, display
Requires at least: 2.6
Tested up to: 2.9.2
Stable tag: .85
This plugin adds a widget that displays random items from your CafePress.com store. Requires cURL and a CafePress API Key.
== Description ==
This plugin adds a widget that displays random items from your CafePress.com store. The display uses the 150px X 150px thumbnail provided by CafePress, description, price and ‘Buy Now’ link. See it in action at OnScreenCars.com It can also cache a copy of your items to avoid hitting API limits and performance issues. Your webserver will need to have the cURL extension for PHP in order for this plugin to work. You will also need to obtain a CafePress API Key. API Keys can be obtained from this link: http://developer.cafepress.com/apps/register.
== Installation ==
1. Upload zip file contents to the `/wp-content/plugins/` directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress
3. Add/Configure Your CafePress Ad Rotator Widget
After you install the plugin go to Widgets, add and configure the CafePress Ad Rotator widget. You’ll
need your CafePress store id (ex. http://www.cafepress.com/mystoreid, last part of the url),
API Key and a label name for your widget. You can obtain API Keys from http://developer.cafepress.com/apps/register Once you have your widget up and running it’s best to cache a copy of your CafePress items. From the widget control panel check “Update Cache” and click Save. You can clear or update the cache at anytime. It marks the last time you updated your item cache. Whenever changes are made to your store, you need to update your cache.
== Changelog ==
= .85 =
Bug fixes for PHP5, No sell-out price fix, total items variable correction.
= .80 =
First version released.
=== Downloads ===
CafePress Ad Rotator (718)=== Update ===
For those who are having trouble with which fields to fill out when requesting an API KEY. I’ve added an example form below with the correct responses.
Name of the application:
WordPress Ad Rotator User
Web Site:
Your Website Url
Please describe what your application will do:
Displays random CafePress items from my store on my blog.
What type of application are you building?
Other
Other? Tell us more:
How many people do you anticipate will use your application?
1-10
Is your application commercial? (Will you charge people to access the application?)
No
Does your application run advertising?
No
What one-word tags best describe your application?
WordPress
Notes:
(nothing)
How did you hear about this API?
http://mattkendrick.com
What is your preferred protocol?
REST
What is your preferred output format?
XML
Leave the “CafePress API” checked.
Check the “I agree to the terms of service”
Click “Register”
Hope that helps. Also be sure to not leave the required fields blank when configuring your widget. Also be sure not to leave spaces in the the API Key field.
=== API Tester ===
Below is a form for testing your Store Id and API Key. We do not log results, API Keys and Store Ids.
*** This is an unoffical test. We are not response-able for results or errors. ***


Subscribe









