Second nav is merged with the first in mobile

In functions.php, change the function magazine_responsive_menu_settings() to the following: function magazine_responsive_menu_settings() { $settings = [ ‘mainMenu’ => __( ‘Menu’, ‘magazine-pro’ ), ‘subMenu’ => __( ‘Submenu’, ‘magazine-pro’ ), ‘menuClasses’ => [ ‘combine’ => [ ‘.nav-primary’, ‘.nav-header’, ], ], ]; return $settings; } Basically, in the combine, I removed ‘.nav-secondary’, This is how it looks like now

WordPress 3.1 not compatible with jQuery Mobile?

Just a guess, but your error message indicates that WordPress is using jQuery 1.4.4. If you look at the jQuery Mobile website, they’re using 1.5. Have you tried using wp_enqueue_script to use a jQuery 1.5? You’d want to try something like: <?php function my_init_method() { if (!is_admin()) { wp_deregister_script( ‘jquery’ ); wp_register_script( ‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js’); wp_enqueue_script( … Read more

$args numberposts variable

Yes, there is no way to get screen size with PHP, because it runs on server, while the screen is something related to client (browser). However, in OP you say: for a desktop visitor I show 10 posts and for a mobile visitor I show 3 posts and even if you can’t get the screen … Read more

How to add iOS & fav icons to the theme?

Hook into wp_head in your functions.php file. add_action(‘wp_head’, ‘add_your_stuff’); function add_your_stuff() { ?> <link rel=”shortcut icon” href=”https://wordpress.stackexchange.com/questions/157869/<?php echo get_stylesheet_directory_uri();?>/favicon.ico” type=”image/x-icon” /> <link rel=”apple-touch-icon” href=”<?php echo get_stylesheet_directory_uri();?>/apple-touch-icon.png” /> <link rel=”apple-touch-icon” sizes=”57×57″ href=”<?php echo get_stylesheet_directory_uri();?>/apple-touch-icon-57×57.png” /> <link rel=”apple-touch-icon” sizes=”72×72″ href=”<?php echo get_stylesheet_directory_uri();?>/apple-touch-icon-72×72.png” /> <link rel=”apple-touch-icon” sizes=”76×76″ href=”<?php echo get_stylesheet_directory_uri();?>/apple-touch-icon-76×76.png” /> <link rel=”apple-touch-icon” sizes=”114×114″ href=”<?php echo get_stylesheet_directory_uri();?>/apple-touch-icon-114×114.png” /> … Read more