The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
33 views

Making a custom CSS per mobile

I have a wordpress site and everything looks the way it should on a regular browser. But now if i go to it in mobile it it there are certain sections that don't look right. Is there a way to modify ...
0
votes
1answer
2k views

How to get a different mobile menu than desktop menu in the twentytwelve child theme

I would like to use a different menu for my mobile website than my desktop website. With different I mean the content not the layout. I just want to use the mobile menu of the twentytwelve theme. ...
1
vote
1answer
84 views

Need help targeting a custom post type with conditional tags

I found some code online to create content blocks on my WordPress blog. I use a content block at the bottom of the sidebar of my page for a shopping widget. Here's the relevant code from functions.php:...
0
votes
1answer
38 views

Templates for Mobile Site

Is there any built-in method for displaying a different template based off of browser size device (i.e. mobile device detection)? I've done some research and all I can find is a ton of plugins that ...
1
vote
0answers
69 views

Issue with loading mobile specific custom single page layout in mobile

Hello I am in the middle of theme development which has specific layouts for mobile, I built a custom function to detect mobile and load mobile specific layouts in mobile view ports. Here is the ...
0
votes
0answers
94 views

Mobile theme switching problems

I am trying to setup my site to enable a responsive mobile device layout. I can't update my whole site to use a different theme so have decided to add another them which I will only show on mobile ...
0
votes
2answers
399 views

Mobile Menu Not Showing

I am using the latest version of wordpress with the responsive 2015 theme. The drop down menu doesnt show on mobile - or when the browser window is very small. Its the drop down menu that is three ...
0
votes
1answer
53 views

Updating From Mobile App - Exposing Site to Hacking

I have made a simple Mobile App to update a wordpress site. It starts with a login (to the app) and then with forms, sends data via POST method to a PHP file that then uses wp_insert_post, ...
0
votes
0answers
237 views

How to disable/enable specific plugins for a mobile theme?

I would like to use a mobile theme for my website but not load all the plugins being used for the desktop version. Is there a way to achieve this without having to remove wp_head() from the theme and ...
0
votes
1answer
75 views

Create theme for mobile phones and tablets only?

I've been checking the docs but I only found a way to use different style sheet for phones and tablets. Is there a way to create another different theme only for mobile phones and tablets? And I'm ...
0
votes
0answers
438 views

Reduce Mobile Image upload size (wordpress)

Just a quick question about mobile image upload size. I am using WP user frontend pro to upload images from both desktop and mobile. Using the mobile when the "image" button is tapped, an user can ...
0
votes
1answer
217 views

search in jquery mobile returns blank page

Regular prelude: new to jquery mobile, sorry for the long pieces of code. Trying to build a mobile version of my theme. started easy by placing a header content and panel and search form. when ...
2
votes
2answers
158 views

$args numberposts variable

$args = array( 'numberposts' => '10', 'post_type' => 'newposttype'); $recent_posts = wp_get_recent_posts( $args ); I know it's not a simple thing to ask but how could I set the numberposts ...
0
votes
2answers
2k views

Using subdomain m.website.com for mobile theme?

Can we have a sub-domain m.website.com for mobile users, those are automatically redirected to it? And what's the purpose anyway?
0
votes
1answer
224 views

MobilePress plugin and WordPress 4.1 update

A client website is currently running on WordPress 4.0.1 and he asked for an update to 4.1. The website uses the MobilePress plugin, which had problems with WordPress updates in the past, but ...
1
vote
0answers
227 views

Using different parameters for different queries with pre get posts in functions.php

Im using pre_get_posts for my taxonomy.php for my products and paginations to work properly. And I have my pre_get_posts in my functions.php. This is how that current code looks in my functions. ( ...
0
votes
2answers
80 views

Wordpress Menu Exchange On Tablet's Orientation

I am using the plugin PHP Browser Detection and I want to achieve different menus for different devices. I have set them up called primary and mobile. Now, I want to switch those on used device. ...
0
votes
1answer
137 views

Hiding menu on mobile only when viewing posts?

I would like to hide menu on mobile only when viewing posts. Menu at the homepage should be visible on mobile but not the other pages. How can I do it? Here is the menu snippet: <nav class="...
0
votes
1answer
59 views

Wordpress Menu Exchange for Mobile Layout

I want to have two different menus for desktop and mobile phone users. So, I have created two places for two menus (primary, mobile) with this function: functions.php: function is_register_my_menus(...
0
votes
0answers
337 views

css to disable on desktop computer BUT enable on mobile device

I've installed a notification bar on my site however I would like to make my notification bar disable on desktop computer view but enable on mobile device only. I just want my notification bar ...
1
vote
1answer
573 views

Deactivate plugins only for mobile devices

I tried to use deactivate_plugins function to deactivate a plugin only for mobile devices. It worked: when I enter site on mobile phone the plugin is deactivated, but when I enter site on PC the ...
0
votes
2answers
3k views

TwentyTwelve child theme mobile menu not working

I have a pretty simple child theme of Twenty Twelve active, but the mobile menu does not expand when pressed. Here is header.php: <?php/** * The Header for our theme. * * Displays all of the &...
0
votes
0answers
18 views

Advert to show on phones

This is my first question so apologies if it's in the wrong place. I'm looking for a simple way to display a small ad when my Wordpress site is shown on phones. Something like this: But, I don't ...
0
votes
2answers
1k views

Different Front page for Mobile

I want to make a different front-page and show it to the mobile user, instead of the one used on desktop. In detail, right now we have set our site to show desktop-front-page to user, when he lands ...
1
vote
1answer
221 views

Create mobile navigation header with settings integration

I'm a seasoned programmer but a completely inexperienced WordPress developer. I'm trying to figure out how to create a header that only shows for mobile devices, and how to modify properties of that ...
8
votes
3answers
5k views

Building a custom REST API

I have a WordPress.org site which takes user input, searches a custom database and displays the results of the query. I have this working using the wpdb class. Now I'm trying to get this working for ...
0
votes
1answer
73 views

Mobile Menu Not Working

The mobile menu stopped working after I updated WP to the latest version, I assume it has to do with a customization of the theme. http://kvintage.com/ Wondering if anyone could please take a quick ...
0
votes
3answers
51 views

the_content() not working in my Android mobile

I have got a little problem. I am working in a theme developed by someone I don´t know. I was testing the site in my cellphone and saw the_content() function does not show anything. I checked in one ...
1
vote
2answers
3k views

How to add iOS & fav icons to the theme?

I want to add iOs, Android and favourite icons to the website. Generally I udnerstand how they shold be implomented: link files in the head section and you good to go, however there are many lines (...
0
votes
0answers
171 views

Showing just the menu toggle next to logo in twenty fourteen

For mobile, I want to eliminate the black menu bar, search box/icon and move the menu toggle up so that on mobile, my site just has the logo and the menu toggle. This gives a bit more room for ...
2
votes
4answers
2k views

How to stop mobile theme inheriting desktop navigation menu?

UPDATE************ Well I have a working solution, although not ideal. Using the Genesis sandbox child theme which has a mobile nav button built-in, I was able to set that to use the primary nav ...
0
votes
1answer
178 views

Plugin to load theme if mobile and specific page

I've been browsing some of the other questions and I haven't been able to find a solution. There was a great solution to part of my problem that I'm basing this code on. I need to detect if on mobile, ...
0
votes
1answer
530 views

Theme: Twenty Thirteen Mobile Sliding Menu Doesn't Bump Content Down

I have created a child theme for Twenty-Thirteen and somewhere while editing it I broke the mobile menu slider as it no longer pushes the content down and instead displays behind the content. I've ...
2
votes
2answers
870 views

Wordpress Split Menu

I'm coding my first WordPress Theme and trying to solve this problem: On the desktop version of the website I’d like to split the menu into 2 sections. One would appear on the left of the logo and ...
2
votes
2answers
176 views

What's the earliest point I can get the queried object ID?

I'm writing a supplement plugin to Wordpress Mobile Pack because I would like to use the default theme on pages that are assigned a certain page template. My plugin will only deal with the mobile ...
1
vote
1answer
244 views

Mobile User Registration

I am writing an android (and eventually iphone) app that is proposing to register a user to a wordpress site. The intent is to have the user registration solely through the mobile device and not ...
0
votes
0answers
55 views

How to make shortcodes parse in two different themes

I've got a mobile and a desktop theme for my website , but the shortcodes in my desktop theme are a lot more functional than the ones in my mobile theme, I use only the shortcodes in my desktop theme, ...
0
votes
0answers
120 views

change theme when on mobile and also on Ipad portrait view

I am familiar with responsive websites and totally prefer it over working with different mobile versions, however, I have a case where there is a site that is alreay built and it is not responsive and ...
-2
votes
1answer
4k views

Changing when mobile menu is displayed

Wordpress seems to be displaying the mobile menu (in Twentythirteen at least) at 643px wide, however i need it to activate at 767px. I cannot seem to be able to find what activates the menu at 643px, ...
0
votes
1answer
105 views

Any Mobile Theme Switcher - Theme not complete (Stylesheet missing)

I am trying to install the theme "Any Mobile Theme Switcher" on Wordpress 3.2.1, in order to give my Site a different layout, depending on where it is displayed. Installation succeeds, but in the the ...
0
votes
2answers
967 views

Content not shown on some older browsers and mobile devices (SGS3)

I'm fronting an issue with my newly created website. I'm using Wordpress 3.8 and a custom child theme (Twenty Fourteen). I've seen a problem, where some mobile phones (like the SGS3) and some older ...
0
votes
0answers
384 views

How to use mobile number instead of email

How can I use mobile number in registration form instead of email? I want to remove email field and add mobile number there. How to do that?
0
votes
1answer
47 views

What does $_GET['iphone'] do?

I am working on a WordPress theme whose news stories are loaded in an iPhone app as well. We need the theme to detect whether the news story is being loaded from a mobile browser (chrome, safari, etc.....
0
votes
0answers
44 views

Make a paginated article (for easier reading on mobile)

I'm looking for some plugin, or perhaps more likely some Javascript package that will make me do something like mobil.idg.se on a phone (select a story, then swipe sideways to read the next part of ...
0
votes
1answer
1k views

Programmatically Selecting Theme Based on URL

I've inherited a site which has a mobile version. Let's call it qqq.com. It has a Varnish server in front of it to cache the pages. But it seems the Varnish server is also detecting mobile requests, ...
0
votes
1answer
733 views

CSS is not loaded on mobile devices

I used w3 total cache on my Multisite install. For a reason I didn't understand, I was hacked, and when someone was going to one of the website, the visitor was redirected to porn websites. Only on ...
0
votes
0answers
639 views

Getting error when trying to redirect WP site to mobile site

I've tried a few different plugins to redirect a WP site to a static page for for mobile devices smaller than iPads. Of the several I've tried, I get the following error. Can someone tell me what's ...
0
votes
2answers
627 views

Change the default number of posts to show on mobile version

I want to change the default number of posts shown for my mobile site. Here is my theme's loop <?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ...
0
votes
2answers
698 views

Conditional config WP_HOME/WP_SITEURL does not update bloginfo('template_url')?

The scenario: This question relates to Wordpress theme development on a local environment via MAMP. In order to enable mobile device testing via xip.io, I have modified my local Wordpress wp-config....
0
votes
1answer
133 views

Subdomain for WP Mobile Edition and Cloudfare

Im using WP Mobile Edition and CloudFare. I added the subdomain m.mysite.com in DNS settings in CloudFare and point it to my hosting IP. But when accessing m.mysite.com, it will display default ...