Edit / Change Jetpack Mobile Theme [closed]

I see 3 ways to edit Jetpack Mobile theme: 1. Use Jetpack’s Custom CSS module Jetpack includes a module named “Custom CSS” that allows you to add your own custom CSS without having to edit your theme stylesheet. The custom CSS editor (under Appearance > Edit CSS) also includes an option to include this custom … Read more

Changing theme = change home page for mobile visitors?

You can make a simple function for this, check if is mobile (http://codex.wordpress.org/Function_Reference/wp_is_mobile). and redirect with wp_redirect() http://codex.wordpress.org/Function_Reference/wp_redirect add_action(‘wp_head’, ‘redirect_mobile’); function redirect_mobile() { if ( wp_is_mobile() ) { wp_redirect( ‘http://url’ ); exit; } } This is untested but should work. Add it to your themes functions.php file.

Serve a different theme based on window size

You shouldn’t need to use a different theme. A good responsive theme should handle all sorts of device window sizes. The new default WP theme, Twenty Thirteen, is responsive mobile first and changes for different device screen sizes. http://wordpress.org/themes/twentythirteen

What does $_GET[‘iphone’] do?

$_GET is for accessing variables in URL parameters, it’s not related to any detection by itself, something must be adding it to URL. In context of WordPress it might be related to $is_iphone global. If you look at wp-includes/vars.php there is number of global variables like this, which WP fills up with data via user … Read more

WordPress Menu Exchange On Tablet’s Orientation

cybmeta is right you cannot trust server-side browser detection <div class=”portrait”> wp_nav_menu( array(‘menu’ => ‘primary’ ) ); </div> <div class=”mobile”> wp_nav_menu( array(‘menu’ => ‘mobile’ ) ); </div> <div class=”primary”> wp_nav_menu( array(‘menu’ => ‘primary’ ) ); </div> and use media queries to hide and display menu

Disable wp_is_mobile()

wp_is_mobile() does not have any filters or ways to override. What you’ll need to do is build a wrapper of your own around wp_is_mobile() and use that in your code where you’ve used wp_is_mobile(). Something like the following prototype could work for you. Ultimately a better option over the URL parameter might be to use … Read more

How to load different homepage on Mobile.?

This question is pretty vague but I’ll give it a shot. A few options: 1) Check out WPtouch – http://www.wptouch.com/ – This plugin gives you the ability to override certain aspects of your primary theme with mobile friendly templates instead. 2) This is not ideal but you could use some basic Javascript to check the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)