Mobile

(Difference between revisions)
Jump to: navigation, search
(Theme Creation)
(Added - Customize Mobile: section, "Extra Customizations Policies" and "Remove Footer Link" sub-sections. Removed OLD release date info.)
Line 1: Line 1:
'''Release date:''' May 6, 2010 (stable)
 
 
 
Advanced technical support for Mobile:
 
Advanced technical support for Mobile:
  
Line 31: Line 29:
 
}
 
}
 
</pre>
 
</pre>
 +
 +
==Customize Mobile==
 +
 +
====Extra Customizations Policies====
 +
[http://ithemes.com/codex/page/PluginBuddy#Extra_Customizations Check our the official policy and details on any Extra Customizations]
 +
 +
====Remove Footer Link====
 +
You can remove or change the footer text and/or link that is shown to all mobile users by default.
 +
 +
*1 : To remove OR change that footer, edit the footer.php file in the appropriate theme folder, depending on which Mobile theme you are using. That file will be in one of the theme directories in either of the following directories:
 +
**wp-content/uploads/pluginbuddy_mobile
 +
**OR (on Multisites) wp-content/blogs.dir/X/files/pluginbuddy_mobile (change the X to the appropriate site number)
 +
*2 : Find line 12 of the footer.php to what you want. It currently says <pre brush="html">Mobile Site By <a href="http://pluginbuddy.com/">PluginBuddy</a><br /></pre>
 +
*3 : Change the above to anything you wish to be shown OR hidden from the mobile users in question who will be viewing that theme.
 +
 +
*Related thread:
 +
**http://ithemes.com/forum/index.php?/topic/14450-removing-the-pluginbuddy-link-from-the-footer/
  
 
==Additional Resources==
 
==Additional Resources==

Revision as of 11:06, October 5, 2011

Advanced technical support for Mobile:

Contents

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>';
}

Customize Mobile

Extra Customizations Policies

Check our the official policy and details on any Extra Customizations

Remove Footer Link

You can remove or change the footer text and/or link that is shown to all mobile users by default.

  • 1 : To remove OR change that footer, edit the footer.php file in the appropriate theme folder, depending on which Mobile theme you are using. That file will be in one of the theme directories in either of the following directories:
    • wp-content/uploads/pluginbuddy_mobile
    • OR (on Multisites) wp-content/blogs.dir/X/files/pluginbuddy_mobile (change the X to the appropriate site number)
  • 2 : Find line 12 of the footer.php to what you want. It currently says
    Mobile Site By <a href="http://pluginbuddy.com/">PluginBuddy</a><br />
  • 3 : Change the above to anything you wish to be shown OR hidden from the mobile users in question who will be viewing that theme.

Additional Resources

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox