The tag has no wiki summary.

learn more… | top users | synonyms

23
votes
9answers
15k 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, ...
9
votes
2answers
2k views

Is wp_is_mobile() effective?

I'm going to test the user agent to load a mobile template instead of the desktop theme. There are many mobile detection scripts out there. Does wp_is_mobile() function work well? What is your ...
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 ...
8
votes
3answers
2k views

What's the best way to use the Featured Image for responsive web design?

I have a brilliant idea and since WordPress already takes care of some of the work, I just need to find a good method to make this work. I am working on a project that needs to be responsive to all ...
7
votes
1answer
1k views

How-to make the admin area mobile friendly [closed]

Currently the admin-UI is a no-go for mobile browsers. Therefore I'm searching for a plugin that makes the back-end/admin-UI accessible and a little more friendly for mobile devices. Features, the ...
6
votes
2answers
8k 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 ...
6
votes
5answers
669 views

How do I make my blog iPad / iPhone / Android friendly?

How do I make sure my blog is iPad / iPhone / Android / touch-device friendly?
6
votes
3answers
3k views

wordpress json custom taxonomy problem

I created 1 custom post type with 2 custom taxonomy. Installed http://wordpress.org/extend/plugins/json-api/ and tried to reach result with: ...
5
votes
1answer
396 views

WP Multisite: load content from site X on site Y

I'm running a WP multisite-network on my professional website (http://mydomain.com). I'd like to play around with jQuery Mobile and deliver a different website and web experience to mobile users, so I ...
5
votes
3answers
790 views

How-to add rewrite rules to point the uploads folder to a subdomain

The goal Point the upload-folder to a static subdomain to serve adaptive images, that can get cached. WordPress Rewrite Rules You can read more in detail about rewrite rules API at Christopher Davis ...
4
votes
2answers
2k 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 ...
4
votes
1answer
400 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 ...
3
votes
4answers
818 views

Using a Theme inside a Plugin directory

I am building a mobile friendly plugin and put the theme directory inside the plugin directory. If it's a mobile browser, how can I redirect to the theme in the plugin directory? ...
3
votes
3answers
806 views

Add Useragent to the body class?

I'm looking for a way to add body class depending on the User Agent of the client with php. I'm looking to implement it this way: page.php: <body id="front" <?php ( function_exists ( ...
3
votes
4answers
185 views

WordPress on WP7

Is there an app for the Windows Phone (7) that allows submission to WordPress? Having used the WordPress app on the Blackberry, I'm looking for one that is similar to that, but for the WP7. I've had ...
2
votes
4answers
538 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 ...
2
votes
4answers
355 views

Developing mobile version of WordPress site

I would like to build a mobile version of my WordPress site. To avoid the problems and costs with developing for native platforms, I'd like to go for an HTML/CSS/jQuery approach that would be ...
2
votes
4answers
4k 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 ...
2
votes
1answer
502 views

Ajax template: how to handle head section

I know it's easy stuff, but I'm new to this and I can't understand which is the best approach. Background The template I'm working on is a dual theme Desktop/Mobile, UA Sniffing based. Now I just ...
2
votes
2answers
246 views

How can I make a wp site in a mobile application?

Which are the ways and how is possible a wp site become an iphone, ipad, android and a blackberry application(not a wp mobile theme)?
2
votes
2answers
81 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 ...
2
votes
3answers
2k views

Is there a plugin which disables other plugins for mobile browers?

I have a wordpress site which uses a plugin to provide a music player. This plugin uses frames to keep the music playing while the user browses the site. Mobile devices have trouble with this because ...
2
votes
1answer
602 views

WordPress 3.1 not compatible with jQuery Mobile?

I recently updated to WordPress 3.1, and with that update, something very interesting happened. Links became unclickable -- clicking on any link would literally result in nothing happening. ...
2
votes
2answers
308 views

Styleswitcher or themeswitcher to allow user to switch back to standard view from mobile device

I created a mobile version of my site with CSS, with all my styles in a single stylesheet (using @media only screen and (max-width: 480px), only screen and (max-device-width: 480px) to define mobile ...
2
votes
2answers
241 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 ...
1
vote
2answers
576 views

Load a theme based on browser detection

Ok I know browser detection is considered bad practice but I can't find a way around it because I really do need whole different themes for a complex site. So I snatched this function from ...
1
vote
2answers
299 views

Conditionally load CSS/JS/PHP in wp-admin if using a mobile device

I'm looking for a way to conditionally load different scripts if the user is accessing the admin area from a mobile device. In my case I'm looking to restrict the user to just be able to make new ...
1
vote
4answers
2k views

How do I stop a widget from displaying on mobile site?

On my main site I have used the search widget in the sidebar. However, the mobile theme I am using (minileven) already has a search box built into its menu bar. This results in a second search box ...
1
vote
3answers
1k views

Child Theme for Mobile Browsers

Is it possible to use a child theme for mobile browsers? I have tried various plugins but the mobile browser only displays the main theme, the theme that is meant for viewing the website on the ...
1
vote
2answers
2k 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 ...
1
vote
2answers
88 views

What is the correct way to do a mobile theme for WordPress?

I'm building a custom theme, along with a custom mobile theme counterpart. They don't share resources, CSS, etc. (cause I like to keep them clean, and separate). My question is: how does everyone ...
1
vote
1answer
928 views

How to include one class/instance without using global variables

I would like to add http://mobiledetect.net/ class to my template. Which is the best approach to dynamically use this class in every part(s) of my template? For the moment I just loaded the class in ...
1
vote
1answer
318 views

How to set different settings for a mobile theme?

My desktop version of wordpress theme requires using a 'static' page as the start page as it has custom shortcodes etc. While this is good, when it comes to my mobile theme, sadly the 'static' page ...
1
vote
2answers
264 views

Free starter theme to make mobile websites?

Is there any free starter theme to make mobile websites using WordPress?
1
vote
3answers
5k views

Convert WP Menu to a Drop Down for Mobile browser

I'm working on a wp project with responsive theme. I have single level nav menu at the top of the site, that I want to change to a Select Option tag for mobile browsers (small screens) with options ...
1
vote
1answer
87 views

How do I add a widget from an Android phone?

Currently my only internet access is via my phone, and I need to add a widget to a Wordpress site. This requires dragging and dropping the widget to the sidebar, which I cannot do via the web browser ...
1
vote
3answers
182 views

How does a mobile WordPress theme differ from a simple theme?

What should be taken care of while coding a mobile theme as compared to a simple one? Is there any tutorial available that teaches how to develop a mobile theme from scratch?
1
vote
3answers
825 views

Possible to filter the posts or categories that XML-RPC users see in their mobile application?

Is it possible to filter the posts or categories that XML-RPC users see in their mobile application? I have a plugin that hooks into pre_get_posts and list_terms_exclusions to do what I need it to ...
1
vote
2answers
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
1answer
102 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 ...
1
vote
1answer
306 views

I want to retrieve all posts of a blog without username & password

I want to make an android application for my wordpress blog, I want to display there all my blog posts with many options like category wise, date wise, search wise etc... How Can I retrieve all my ...
1
vote
2answers
2k views

Hiding a php element from mobile browsers

I've stuck a static width content slider on my Wordpress sites front page. I'm using the Twenty Eleven theme with a small piece of code included into index.php to display the slider. Unfortunately ...
1
vote
1answer
56 views

How Do I Use A Custom Mobile Theme?

I have a self hosted blog and I want it to be mobile compliant. I know there is a free plugin the serves this purpose. However, I want to use a simple mobile theme I like (say from Theme Forest). How ...
1
vote
2answers
167 views

Is there a way to separate a site inside a network (multisite) into its own wp site?

If there is a network (multisite installation) with 10 sites inside. Is there a clean way to separate that site to its own site in a different server? How?
1
vote
2answers
1k views

Javascript Solution Remove Specific Tag but leave the rest in a specific DIV

I have a div structure that looks like this... <div class="gallery_lightview"> <div id="lg_image"> <a ...
1
vote
1answer
346 views

How to serve different thumbnails/images depending on users browser/platform

This is a general question to discuss approaches to filtering WordPress image sizes based on the browser/platform (such as a smart phone or netbook or desktop). The idea being that on a mobile we ...
1
vote
1answer
329 views

Querying custom fields with Carrington mobile theme

Does anyone know why querying custom fields does not work in the Carrington mobile theme? I´m using this: get_post_meta($post, 'key', true) But the query does not return anything. Anyone know why? ...
1
vote
0answers
75 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. ( ...
1
vote
1answer
59 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 ...
1
vote
0answers
97 views

Elements floating on top of each other when Resizing or checking site on mobile. Twenty Twelve

I'm using WP Twenty Twelve theme for my blog: Glory and Honor and have followed the Replace #site-title with resizable image in Twenty Twelve Post to fix my logo not displaying when visiting via my ...