Mobile

(Difference between revisions)
Jump to: navigation, search
(Theme Creation)
Line 14: Line 14:
 
If you would like to edit an existing theme you may do so by editing the live theme files. If you do this we suggest unchecking the option in Settings for automatically upgrading theme files on automatic upgrades to prevent your changes from being lost. Style manager edits create a CSS file within /files/pluginbuddy_mobile/THEMENAME.css so that these changes will not be lost on upgrades.
 
If you would like to edit an existing theme you may do so by editing the live theme files. If you do this we suggest unchecking the option in Settings for automatically upgrading theme files on automatic upgrades to prevent your changes from being lost. Style manager edits create a CSS file within /files/pluginbuddy_mobile/THEMENAME.css so that these changes will not be lost on upgrades.
  
To create a new theme you can just clone an existing theme to /files/pluginbuddy_mobile/NEWTHEMENAME/
+
To create a new theme you can just clone an existing theme to /wp-content/uploads/pluginbuddy_mobile/NEWTHEMENAME/
  
  
Line 31: Line 31:
 
}
 
}
 
</pre>
 
</pre>
 
  
 
==Additional Resources==
 
==Additional Resources==

Revision as of 17:30, August 23, 2011

Release date: May 6, 2010 (stable)

Advanced technical support for Mobile:

Documentation

Theme Creation

Live themes are stored in /files/pluginbuddy_mobile/THEMENAME/ Non-live original theme files are stored in /wp-content/plugins/mobile/themes/THEMENAME/

If you would like to edit an existing theme you may do so by editing the live theme files. If you do this we suggest unchecking the option in Settings for automatically upgrading theme files on automatic upgrades to prevent your changes from being lost. Style manager edits create a CSS file within /files/pluginbuddy_mobile/THEMENAME.css so that these changes will not be lost on upgrades.

To create a new theme you can just clone an existing theme to /wp-content/uploads/pluginbuddy_mobile/NEWTHEMENAME/


Additional Head HTML (includes Apple icon definitions)

if ( defined('MOBILEBUDDY_HEAD_CONTENT') ) {
   echo MOBILEBUDDY_HEAD_CONTENT;
}


Link to Full Site

if ( defined('MOBILEBUDDY_FULL_SITE_LINK') ) {
   echo '<a href="' . add_query_arg( 'nomobile', '' ) . '">View Full Site</a>';
}

Additional Resources

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox