The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
27 views

Template Tags return incorrect values on mobile [closed]

I'm writing a website for a company that already has a WordPress-based site elsewhere on the same server (the site I am writing has a different domain, but is on the same hosting machine). The site ...
0
votes
1answer
29 views

how to implement wp_is_mobile on themes?

I just read the wp_is_mobile function reference and I have some questions. As you can read, there is a line explanation in bold text: It also should not be used for themes. I excactly don't know what ...
0
votes
1answer
30 views

CSS Changes made, lost mobile functionality

I just have a question regarding a site that I'm working on, http://sportsentertainmentattorney.com/ My problem is, I made some css changes in wordpress using the edit css page, specifically these ...
0
votes
0answers
17 views

Multiple devices wordpress website

how can I create a wordpress website that has two contents version (images on mobile version are different from desktop ones) and redirect visitors based on the device they are using. The both ...
0
votes
1answer
21 views

Reduced Menu in Mobile with Twenty Twelve and Polylang

Situation: Theme: Twenty Twelve Plugin: Plolylang, German & English URL: http://astronomisches-konzert.de Menu is nested Requirement: Mobile Menu not nested Solution: For Mobile set ...
0
votes
1answer
123 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. ...
0
votes
0answers
10 views

Issues perfecting responsive iframe with wordpress styles

I've been trying to work on this for what seems like almost 3 hours and I just can't figure out what is happening, so any suggestions are appreciated! Here is the site - ...
0
votes
4answers
2k 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
1answer
27 views

Mobile Menu not working on TwentyThirteen child theme

I have customised the Twenty Thirteen wordpress theme with a child theme but the mobile menu does not expand when pressed. I have removed all the styles from the child theme to see if anything I have ...
0
votes
2answers
705 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
3answers
34 views

Redirect to other page when mobile

I am looking for a simple clean solution when someone visits my homepage with a mobile device. Should I use something like Mobile Detect? I've seen many plugins with lots of downvotes or crashing. Is ...
4
votes
1answer
170 views

Proper usage of wp_is_mobile()?

I have developed responsive theme and I want to submit it the wordpress.org. Before submitting it I want to use wp_is_mobile() in my theme, but according to Function Reference/wp is mobile it is a ...
0
votes
0answers
26 views

Create a simple mu-plugin that appends “?mobile” to all links

I have a wordpress website that is set to switch themes when "?mobile" is present in the url. I'm using it for a specific mobile design that will launch from a particular link. So, instead of ...
0
votes
2answers
352 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
1answer
21 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 ...
26
votes
9answers
17k views

How to detect mobile devices and present them a specific theme?

I would like to create a new modified version of my theme (check my profile if needed) to present to visitors if I detect that they are visiting the site from a hand-held device, like iPhone, Android, ...
1
vote
1answer
24 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 ...
0
votes
1answer
29 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 ...
2
votes
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
48 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
40 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
60 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
23 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
40 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
36 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
33 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
52 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
2k 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
360 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
125 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 ...
6
votes
3answers
4k 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
62 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
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
92 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
158 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
10 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
63 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
84 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
41 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
204 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
230 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
307 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
155 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
1k 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 ...