This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

iPhods iTunes Top Products Widget

Description

This plugin is a simple plugin to generate widgets highlighting top mac apps, music, books, ios apps, audiobooks and university courses available on Apple iTunes Store. This is in development, but provides a starting point for experienced developers who want to customize the widget to their needs. At this time, the plugin does not support affiliate links but will in the near future.

Future versions will include a fully documented shortcode, which will allow placement of top products on both posts and pages.

All images and trademarks referenced herein are the properties of their respective owners.

Screenshots

  • Sample widget with "topalbums" feed type (version 8.14)
  • Sample widget with "topalbums" feed type (version 8.14)
  • Sample widget with "topmovies" feed type (version 8.14)
  • Sample widget with "topmovies" feed type (version 8.14)
  • Sample widgets on frontend of site
  • Sample widgets on frontend of site
  • Sample shortcode in post editor, also showing TinyMCE Shortcode Button
  • Sample shortcode in post editor, also showing TinyMCE Shortcode Button

Installation

Overview

This section describes how to install the plugin and get it working.

  1. Upload folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Widgets

  1. Place iphods widget into your desired sidebar
  2. Goto https://rss.itunes.apple.com/us/ and get a feedtype from the url, examples include:

    * topfreeapplications
    * toppaidipadapplications
    * toppaidebooks
    
  3. Paste this code into the widget box, this will be replaced with a dropdown in future versions

Shortcode

  1. Edit any post or page, add the following shortcode

    [iphods feedtype="topfreeapplications"]
    
  2. Add any attributes to override their defaults, as needed to get desired output.

    limit [number from 1 to 100]
    genre [see urls generated by https://rss.itunes.apple.com/us/]
    image_size [0,1,2]
    display [grid or list]
    show_price [true or false]
    

Futher Customizations

This plugin is just a foundation, please modify it and adjust to fit your needs and desires.

FAQ

  1. Why did I write this plugin?
    I wanted to help others add unique dynamic content easily to their wordpress blog and sidebars.

  2. Why so many updates?
    I’m having fun, adding new features and patching small bugs. I will slow down once I’m happy with the plugin and it does everything I want it to do.

Contributors & Developers

“iPhods iTunes Top Products Widget” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

8.5

  • added Changelog to readme.txt
  • added randomization option to core class
  • added screenshots to readme.txt
  • added country default to url generate method

8.12

  • added documentation for shortcodes

8.13

  • cleaned up php code, removed debugging lines

8.14

  • documented shortcode attributes in installation instructions

8.15

  • changed load_json from private to public, to use inside of widget class
  • added country drop down to widget

8.16

  • changed widget for feed type from input box to select, powered by Apple json data.
  • added button to tinymce editor to create initial shortcode, may move above editor to work with non tinymce editor too
  • added a settings page, to store future additions.
  • added setting to enable a logging function to report site url when plugin is activated or deactivated.
  • added setting for permission to add a backlink after widgets linking back to iPhods.com.

8.17

  • added settings to begin to use affiliate commission links in widgets and shortcodes.