"1", "ssw" => "480", "iconsize" => "72", "current" => "0", "linkshareid" => "", "default_store" => "US" ); update_option('asl_plugin', $arr); } } add_action('admin_init', 'asl_pluginoptions_init' ); add_action('admin_menu', 'asl_pluginoptions_add_page'); // Init plugin options to white list our options function asl_pluginoptions_init(){ $settings = get_option('asl_options'); if(!$settings) asl_add_defaults(); register_setting( 'asl_pluginoptions_options', 'asl_plugin', 'asl_pluginoptions_validate' ); } // Add menu page function asl_pluginoptions_add_page() { add_options_page('AppStore Lookup Options', 'AppStore Lookup', 'manage_options', 'asl_pluginoptions', 'asl_pluginoptions_do_page'); } // Draw the menu page itself function asl_pluginoptions_do_page() { ?>

AppStore Lookup Options

Use TimThumb: />
This option allows you to use TimThumb to dynamically resize images and store caches on your server, rather than using the full-size images from Apple and resizing via HTML or CSS. This option can be overwritten in the shortcodes for individual cases.
Default screenshot width: px
Set the default image width. Screenshot aspect ratio will always be maintained.
Default icon dimensions (square): px
Set the default icon width. Aspect ratio will always be maintained.
Default to Current version: />
Display total and average rating for only the current version of the application.
LinkShare ID:
If you have a Linkshare ID, add it here to turn any download link into a Linkshare affiliate link. If you don't have an ID, leave this blank.

Shortcodes

These are the shortcodes you can use to display your app data. An appstore id passed with the id= parameter is required for all shortcodes.

Parameters

Parameters for shortcodes.