User Tools

Site Tools


mobile_home_screen_icons

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mobile_home_screen_icons [2013/02/15 04:45]
admin
mobile_home_screen_icons [2013/02/15 04:48] (current)
admin
Line 40: Line 40:
 </code> </code>
  
 +If you're already using the **ttg_head_end** function in your ''%%phplugins.php%%'' file, then just add this code via //echo// statement.
  
 +Otherwise, we can create a function in this way:
 +
 +<code>
 +function ttg_head_end( $style, $path ) {
 +echo '
 +<link rel="apple-touch-icon" href="phplugins/images/icon_57.png" />
 +<link rel="apple-touch-icon" sizes="72x72" href="phplugins/images/icon_72.png" />
 +<link rel="apple-touch-icon" sizes="114x114" href="phplugins/images/icon_114.png" />
 +<link rel="apple-touch-icon" sizes="144x144" href="phplugins/images/icon_144.png" />
 +';
 +}
 +</code>
 +
 +This will add the icons to all galleries and pages enabled for PHPlugins.
mobile_home_screen_icons.txt ยท Last modified: 2013/02/15 04:48 by admin