Mobile

From IThemes Codex
(Difference between revisions)
Jump to: navigation, search
(Updated the "Link to Full Site" code according to http://ithemes.com/support/mobile/view-full-site-link-doesnt-always-work/)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Advanced technical support for Mobile:
+
__NOTOC__
  
* [[Mobile: Error Codes]]
+
[[File:Mobile300.png|Mobile300.png|300px|link=|right]]
* [[Mobile: Advanced Debugging]]
+
  
=Documentation=
+
<div class="exchange-home-list">
 +
==Mobile Themes== __NOEDITSECTION__
 +
*[[Mobile_Theme_Creation|Theme Creation]]
 +
</div>
  
===Theme Creation===
+
<div class="exchange-home-list">
Live themes are stored in /files/pluginbuddy_mobile/THEMENAME/ (multisites) OR /wp-content/uploads/pluginbuddy_mobile/THEMENAME/ . You should always edit the theme files in these directories.
+
==Customize Mobile== __NOEDITSECTION__
 +
*[[Extra_Customizations|Official policy and details on any Extra Customizations]]
 +
*[[Remove_Footer_Link|Remove Footer Link]]
 +
*[[Change_the_Default_Home_Page|Change the Default Home Page]]
 +
*[[Change_the_Default_Home_Page_When_Using_a_Specific_Landing_Page|Change the Default Home Page When Using a Specific Landing Page]]
 +
</div>
  
Non-live original theme files (backups and originals) are stored in /wp-content/plugins/mobile/themes/THEMENAME/ You should never edit the files in this directory.
+
<div class="exchange-home-list">
 
+
==Advanced Technical Support for Mobile== __NOEDITSECTION__
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 (multisites) or /wp-content/uploads/pluginbuddy_mobile/THEMENAME.css so that these changes will not be lost on upgrades.
+
* [[Mobile: Error Codes]]
 
+
* [[Mobile: Advanced Debugging]]
To create a new theme you can just clone an existing theme to /files/pluginbuddy_mobile/THEMENAME/ (multisites) or /wp-content/uploads/pluginbuddy_mobile/NEWTHEMENAME/
+
* [[Mobile: Fix for Apple iPhone IOS 7]]
 
+
 
+
'''Additional Head HTML (includes Apple icon definitions)'''
+
<pre>
+
if ( defined('MOBILEBUDDY_HEAD_CONTENT') ) {
+
  echo MOBILEBUDDY_HEAD_CONTENT;
+
}
+
</pre>
+
 
+
 
+
'''Link to Full Site'''
+
<pre>
+
if ( defined('MOBILEBUDDY_FULL_SITE_LINK') ) {
+
  echo '<a href="' . add_query_arg( 'nomobile', '', str_replace( 'mobile', '', $_SERVER['REQUEST_URI'] ) ) . '">View Full Site</a>';
+
}
+
</pre>
+
 
+
*Related forum
+
**http://ithemes.com/forum/index.php?/topic/20587-view-full-site-link-doesnt-always-work/
+
 
+
=Customize Mobile=
+
 
+
===Extra Customizations Policies===
+
[http://ithemes.com/codex/page/PluginBuddy#Extra_Customizations Check out 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/
+
  
=Plugin Conflicts=
+
</div>
The following plugins are known to cause conflicts with OR in Mobile. You can either disable the following plugins, upgrade them to their latest versions OR let their development team know about this. Mobile works perfectly when such plugins (or some certain versions of them) are not active.
+
  
*SexyBookmarks (by Shareaholic) - Version 4.0.6.2
+
<div class="exchange-home-list">
**Dropdown menu has been confirmed to not work properly with this version
+
==Miscellaneous== __NOEDITSECTION__
***http://ithemes.com/forum/index.php?/topic/19455-mobile-theme-not-working/
+
*[[Plugin_Conflicts|Plugin Conflicts]]
 +
</div>
  
=Additional Resources=
+
<div class="exchange-home-list">
* [http://pluginbuddy.com/purchase/mobile/ Purchase Mobile]
+
==Additional Resources== __NOEDITSECTION__
* [http://pluginbuddy.com/tutorials/ PluginBuddy Tutorials]
+
*[http://ithemes.com/purchase/backupbuddy/ Purchase BackupBuddy]
* [http://pluginbuddy.com/ PluginBuddy.com]
+
*[http://ithemes.com/tutorials/ iThemes Tutorials]
* [http://pluginbuddy.com/support/ Support Forums]
+
*[http://ithemes.com/ iThemes.com]
 +
*[http://ithemes.com/forum/ Support Forums]
 +
</div>
  
[[Category:PluginBuddy]]
+
<br />
 +
[[:Plugins|← Back to Plugin Codex Home]]

Latest revision as of 12:34, January 16, 2014


Mobile300.png

Mobile Themes

Miscellaneous


← Back to Plugin Codex Home

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox