'iphone_icon', 'iphone2x_icon'=>'iphone_icon4', 'ipad_icon'=>'ipad_icon', 'ipad2x_icon'=>'ipad_icon2', 'iphone_image'=>'iphone_image', 'iphone2x_image'=>'iphone_image4', 'iphone5_image'=>'iphone5_image', 'ipad_image'=>'ipad_image', 'ipad_land_image'=>'ipad_land_image', 'ipad2x_image'=>'ipad_image2', 'ipad2x_land_image'=>'ipad2x_land_image' ); $options = array( 'iphone_icon'=>'iphone_icon57x57.png', 'iphone2x_icon'=>'iphone2x_icon114x114.png', 'ipad_icon'=>'ipad_icon72x72.png', 'ipad2x_icon'=>'ipad2x_icon144x144.png', 'iphone_image'=>'iphone_image320x460.png', 'iphone2x_image'=>'iphone2x_image640x920.png', 'iphone5_image'=>'iphone5_image640x1096.png', 'ipad_image'=>'ipad_image768x1004.png', 'ipad_land_image'=>'ipad_land_image748x1024.png', 'ipad2x_image'=>'ipad2x_image1536x2008.png', 'ipad2x_land_image'=>'ipad2x_land_image1496x2048.png' ); $alreadyInstall = get_option('iphone_icon'); if($alreadyInstall){ foreach($oldOptionsRef as $newOption=>$oldOption){ $oldPath = get_option($oldOption); if($oldPath){ $path = $oldPath; }else{ $path = $this->getDynamicUrl('/wp-content/plugins/appleicons/images/icons/'.$options[$newOption]); } delete_option($oldOption); update_option($newOption, $path); } return; } foreach($options as $option=>$image){ update_option($option, $this->getDynamicUrl('/wp-content/plugins/appleicons/images/icons/'.$image)); } } function pluginActionLinks( $links, $file ) { //var_dump($file); if ( strpos($file, '/appleicons.php' )>0 ) { $links[] = ''.__('Settings').''; } return $links; } function deAddToAdminMenu(){ $this->pagehook = add_options_page('Apple Icon Settings', 'Apple Icons', 'administrator', $this->menuSlug, array($this, 'pluginPageContentCallback')); } function pluginsImageSrc($image_name){ return plugins_url( 'images/'.$image_name , __FILE__ ); } function pluginPageContentCallback(){ wp_enqueue_script('common'); wp_enqueue_script('wp-lists'); wp_enqueue_script('postbox'); wp_enqueue_script('thickbox'); wp_enqueue_style('thickbox'); wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); wp_nonce_field('meta-box-order', 'meta-box-order-nonce', false ); add_meta_box( 'wpde_appleicons_icons', __( 'Icons' ), array($this, 'renderIcons'), $this->pagehook, 'normal', 'core' ); add_meta_box( 'wpde_appleicons_screen', __( 'Starup Screens' ), array($this, 'renderStartupScreens'), $this->pagehook, 'normal', 'core' ); add_meta_box( 'wpde_appleicons_helpdesk', __( 'Help Desk' ), array($this, 'renderhelpDesk'), $this->pagehook, 'side', 'core' ); add_meta_box( 'wpde_appleicons_newsdesk', __( 'News Desk' ), array($this, 'renderNewsDesk'), $this->pagehook, 'side', 'core' ); ?>
You can post your query on following sites. We will solve your issues free of cost.
| Precomposed | /> | ||
|---|---|---|---|
| iPhone and iPod touch | (57x57) |
|
|
| iPhone and iPod touch (2x) |
(114x114) |
|
|
| iPad | (72x72) |
|
|
| iPad 2 | (144x144) |
|
|
| iPhone and iPod touch | (320x460) | ||
|---|---|---|---|
| iPhone and iPod touch (2x) |
(640x920) | ||
| iPhone 5 and iPod touch (5th generation) | (640x1096 pixels) | ||
| iPad | (768x1004) | ||
| iPad Landscape | (748x1024) | ||
| iPad 2 | (1536x2008) | ||
| iPad 2 Landscape | (1496x2048) | ||