Wish Pics

Description

The Wish Pics plugin is a more fully developed version of a simple plugin I made to show Mr. Men book covers for our son. It is written using a few more up to date methods available in WordPress. It also supports user created lists, and multiple wishlists hosted on the same blog.

The plugin comes with the Mr Men wish list by default, adding your own lists can be done by copying the file plugins/lists/MrMen.php and changing the content to reflect the items you want to display.

The plugin currently relies upon my other plugin Amazon Link being installed to enable the user to generate their own wishlist based upon Amazon searches. Note these user generated wish lists will link to images on Amazon so may fail to work over time.

Each wishlist has the following settings:

  • Wishlist name & ID – Used to reference the wishlist, ID must be used when inserting the list
  • Wishlist – Which template list to use (defaults to MrMen)
  • Thumbnail Width – The width of images presented in the wishlist array
  • Thumbnail Height – The height of images presented in the wishlist array
  • Array width – The total maximum width of the wishlist array
  • Public Access – Allow anyone the ability to check items off the list
  • Access Level – If not public, then only allow users of this type the ability to check items off the list

If the Amazon Link plugin is installed it is possible to Create new lists based on items for sale on the Amazon Site. Simply select ‘Create List’ from the Admin page. Then search for items by ‘Title/Author’, perform a Search and select items to add to the list by clicking on the check boxes. The list will accumulate until you leave this screen, so multiple searches can be performed. Then select ‘Create’ to show an example of how the finished list will be presented. At this point you can click ‘Back to Search Results’ to change the list, or select ‘Save’ to add the list to the database.

Warning! returning to the admin settings screen without saving the list will lose the content of the search!

To create a new wishlist based on an old one or update en exist one, select ‘Edit List’ from the admin page.

Installation

Simply:

  1. Download the Wish Pics plugin from the Plugin Directory.
  2. Unzip the attached wish-pics.zip file into your WordPress `/wp-content/plugins/` directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Enter the Plugin’s settings menu to configure your wishlist
  5. If you wish to create new wishlist content, you must also install the Amazon Link plugin and configure it with your AWS account details.
  6. Insert links and wishlists into your content using the <–wish-pics –> tag as described below.

Example

To show an example wishlist simply put the following into a post:
<!--wishpics id=2 --> which will generate the following:

Leave a Reply