Questions tagged [mobile]
The mobile tag has no usage guidance.
303 questions
0
votes
1
answer
256
views
How to remove the word "Navigation" from the top of the mobile main menu?
How can I remove the word "navigation" from the top of www.kpvitamins.com? I also would like to remove the entire navigation because as you can see at the top, I have a different one.
-2
votes
1
answer
115
views
Separate Mobile site
So, I have a customized desktop site. I want to have a separate mobile site, like m.example.com.
I want to have a blank theme or pages that I can customize the mobile site.
Any suggestion to how I ...
0
votes
2
answers
313
views
Reliable method to detect mobiles
I'm running a WordPress site and wanna setup a mobile site based on it.
I've tried some plugins like Mobile Themes which allows me to implement a different theme for mobile. The problem is when I ...
2
votes
1
answer
672
views
How to switch css files according to devices and button click?
I am trying to enqueue a responsive css file if the website is opened on mobile devices.
Also I want to switch / enqueue a default or non-responsive css file when a button is clicked.
The non-...
2
votes
1
answer
2k
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
1
answer
53
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
0
answers
61
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
1
answer
548
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
4
answers
16k
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 ...
23
votes
2
answers
45k
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
1
answer
270
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 ...
4
votes
4
answers
48k
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
1
answer
914
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
1
answer
55
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
0
answers
89
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
0
answers
480
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 ...
1
vote
2
answers
39k
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
1
answer
62
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, ...
1
vote
0
answers
320
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
1
answer
101
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
0
answers
516
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
1
answer
325
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
2
answers
595
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
3
answers
8k
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
1
answer
352
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
0
answers
448
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
2
answers
183
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
1
answer
178
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
1
answer
501
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(...
4
votes
2
answers
5k
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
2
answers
6k
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
3
answers
5k
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
1
answer
670
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 ...
10
votes
3
answers
14k
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
1
answer
719
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
3
answers
263
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 ...
2
votes
2
answers
6k
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 (...
6
votes
5
answers
10k
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
1
answer
380
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
1
answer
799
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
2
answers
4k
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 ...
4
votes
2
answers
685
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
1
answer
927
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
0
answers
184
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
1
answer
15k
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
1
answer
184
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
2
answers
2k
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
1
answer
67
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
0
answers
55
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 ...
1
vote
1
answer
3k
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, ...