The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
27 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
3answers
1k views

WP Super Cache separate cache for mobile

I'm using the WP Super Cache plugin and inside my theme I have code that executes differently if the site is viewed on a mobile device (iOS, Android) than a desktop browser. How do make WP Super ...
1
vote
0answers
31 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
3answers
1k views

Use a different template/theme if mobile only on home page

I have looked around and can not find anything that fully works for my issue: I want to be able to set the home page template on the fly when a user is visiting from a mobile phone but not a tablet. I ...
0
votes
0answers
9 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
17 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
0answers
10 views

Custom taxonomy support in android app

For a wordpress site that has custom taxonomies set, the standard Wordpress android app doesn't list those taxonomies when we create a post using it. It only lets the author choose the standard ...
0
votes
1answer
32 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
10 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
0answers
19 views

Activate plugins only for mobile?

i found this code and i created a new php file that i added mu-plugins folder to deactivate a plugin only for mobile and it works. The problem is that the shortcodes of the plugin remain there, so i ...
0
votes
1answer
40 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 ...
2
votes
2answers
3k views

How can i disable a plugin for a mobile phone?

Is there a way I can not show something to mobile users? I have a floating social bar on my responsive theme, but it get in the middle of the content if I'm on my Android phone. I don't want to use ...
0
votes
2answers
1k 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
265 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
63 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 ...
5
votes
3answers
3k views

Excluding iPad from wp_is_mobile

I am eperiencing a very annoying problem. I built my website with media queries and is_mobile (thinking is_mobile would be the same as smaller screens. How foolish of me.) but after some testing ...
2
votes
2answers
43 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
3answers
318 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
1k views

Twenty Eleven Theme Adjusts for iPhones. How to stop this feature?

I would like to prevent Twenty Eleven from changing to mobile version when seen on an iPhone. Any way of doing this?
0
votes
1answer
58 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
135 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
0answers
9 views

.entry-title and other contents not showing on mobile

I just noticed the title of my blog is not showing up on mobile for specific entries. On the main blog page, nothing shows. I've pretty much gutted header.php but left everything else more or less the ...
0
votes
2answers
51 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
59 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 ...
0
votes
1answer
31 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 ...
0
votes
0answers
142 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
160 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 ...
6
votes
2answers
9k views

Disable plugin / plugin action via theme

I have installed the Google Analyticator plugin on my site. I am also using the MobilePress plugin to serve up a theme designed for non-smart-phone mobile browsers. I have set up Google Analytics for ...
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
89 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 ...
2
votes
4answers
5k views

Wordpress REST endpoint with JSON for Mobile App integration

Is there some REST API that Wordpress supports, out of the box or through any plugin that exposes the same information exposed through the normal pages? (I.e. latest posts, filtering by categories ...
9
votes
4answers
5k views

Create mobile site with same content just different theme

I have a wordpress site and want to create a different theme for mobile. I'd like to create a subdomain such as m.domain.com which will use a mobile optimized theme much different than the desktop ...
1
vote
1answer
127 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 ...
4
votes
1answer
882 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
171 views

How do I use CPT and permalinks with a mobile theme?

We have a live site that is using one theme. Then I've got Wordpress Mobile Pack installed to enable a mobile theme which has different functionality and look. The problem I'm running into is that the ...
0
votes
1answer
36 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 ...
-2
votes
1answer
345 views

How can I directly upload smartphone videos to blog and comments?

I am using MAMP and WordPress to locally host and test my video website on my Macbook Air (using the templatic "video" theme). I am trying to find the simplest way to easily upload and embed videos ...
0
votes
3answers
31 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
760 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
88 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
933 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
0answers
133 views

Integrating jQuery mobile page transitions with my theme

I'm trying to integrate jquery mobile page transitions using the advice on this site I have a functions.php file: function theme_js() { wp_register_script( 'jquery.mobile', ...
0
votes
2answers
3k views

Edit / Change Jetpack Mobile Theme [closed]

I really like the idea to switch themes for mobile devices and am using jetpack for several feature on my website, So I thought, why not use it for mobile devices as well. Jetpack comes packed with a ...
0
votes
0answers
63 views

Show sub menu item from main menu on mobile devices

The parent menus of my wordpress main menu (horizontal) navigation shows up on mousever. I created a toggle / collapsing menu for screen sizes under 768px. Any idea how to show up the parent menus ...
0
votes
1answer
101 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
0answers
14 views

Editing content for mobile

I'm thinking about the best solution for separating content that should be displayed on different devices in the backend, e.g. desktop and mobile. The most obvious solution would be to define ...
2
votes
2answers
374 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 ...
0
votes
1answer
99 views

Comments from mobile apps & Disqus

I'm currently using Disqus in my WordPress Installation, and I am pretty happy with it. However, I'd like to extend my native mobile app (Windows Phone) to allow the users to post comments directly ...
0
votes
1answer
277 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
112 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 ...