WordPress Mobile Solutions
Illustration by John Hersey

Configuring the Mobile Theme Switcher


From:

WordPress Mobile Solutions

with Morten Rand-Hendriksen

Video: Configuring the Mobile Theme Switcher

WordPress Mobile Pack gives you several options when it comes to handling mobile visitors. At the core of the plug-in, is the Mobile Theme Switcher, which just like the name suggests, allows you to switch the theme when the site is accessed from a mobile device. This means you're not bound by the themes that come with a plug-in, you can also create your own custom themes that show up only on mobile devices. The Mobile Theme Switcher has several different options. To get to it we have to go to the Dashboard, and if we go to Appearance you'll see that WordPress Mobile Pack has added three new options: Mobile Theme, Mobile Widgets and Mobile Switcher, we want to go to Mobile Switcher.

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now
please wait ...
Watch the Online Video Course WordPress Mobile Solutions
44m 26s Beginner Aug 10, 2012

Viewers: in countries Watching now:

This course shows how to create a mobile version of an existing WordPress web site by leveraging ready-made solutions. Author Morten Rand-Hendriksen demonstrates how to install and configure three different plugins: WP Mobile Detector, which automatically detects the visitor's mobile device type and displays an auto-formatted theme; WPtouch, which transforms a site into an iPhone application-style theme with just a few clicks; and the WordPress Mobile Pack toolkit for making more fine-tuned adjustments. Morten also covers modifying the appearance of the mobile site and tracking its analytics and other stats. This course offers a variety of ways to get a stylish and nimble mobile site up and running quickly, without having to edit any code.

Topics include:
  • Installing and activating plugins
  • Configuring mobile themes
  • Switching themes on the fly
  • Tracking analytics
  • Customizing menus
  • Sending push notifications
Subject:
Web
Software:
WordPress
Author:
Morten Rand-Hendriksen

Configuring the Mobile Theme Switcher

WordPress Mobile Pack gives you several options when it comes to handling mobile visitors. At the core of the plug-in, is the Mobile Theme Switcher, which just like the name suggests, allows you to switch the theme when the site is accessed from a mobile device. This means you're not bound by the themes that come with a plug-in, you can also create your own custom themes that show up only on mobile devices. The Mobile Theme Switcher has several different options. To get to it we have to go to the Dashboard, and if we go to Appearance you'll see that WordPress Mobile Pack has added three new options: Mobile Theme, Mobile Widgets and Mobile Switcher, we want to go to Mobile Switcher.

From the Mobile Switcher Configuration page we can set up how the plug-in identifies mobile devices and what theme we serve up to those mobile devices. From the top we have the Switcher mode where the identification happens. We can disable the function so that we don't detect mobile devices. I don't know why you would want to do that, but you can. You also have Browser detection, which is the standard mode. This is the default and the one I recommend you do. It identifies the browser as a mobile browser, or a desktop browser, and then serves up themes depending on that. You can also use Domain mapping.

This requires that you have access to your DNS settings, and that your DNS host allows you to do Wildcard Mapping, but it allows you to sets a different domain, for instance m.something, for the mobile site, which can be useful in some cases, or you can do both Browser Detection and Domain Mapping. For almost all cases Browser Detection is the best option, so you should leave it at that. Directly below we can select what Mobile theme we want to use. WordPress Mobile Pack ships with four custom mobile themes.

They all look pretty much the same except for the color. The base is kind of brownish then you have a blue, a green, and a red option. But in addition, you get a list of all the themes you have installed on your site, and you can use any of these themes as a mobile theme. And this is really cool if you have a custom theme for your site that controls how it looks, and you also want to serve up a custom experience for people who access the site with mobile devices because you can then create a custom version of your theme just for mobile devices so that whenever someone visits your site on a mobile device, they will get your theme customized for a mobile experience.

If you don't have your own custom mobile theme, but you're still going to serve up something other, than the cookie-cutter themes that come with the WordPress Mobile Pack, you can choose to use a Responsive theme like Twenty Eleven or another responsive theme just for the mobile devices. The next three options relate to the Switcher mode, so if you set the Switcher mode to Domain mapping, you can now change the Desktop domain and the Mobile domains so that the different users land on the correct sites. Like I said before, this is an advanced option, and it's really not necessary if you use the Browser detection option, but if you do, and you know what you're doing you can experiment with these settings as well.

Finally, at the bottom you have Footer links. This allows you to place a small link in the footer of the mobile site that gives the visitor the ability to jump back to the desktop site. This is really useful because a lot of people when they land on these mobile sites don't like what they see or they maybe looking for something specific like an image or gallery or something that's being excluded by the mobile theme. By giving them this link they can choose to go back to the desktop experience even if it's a sub-optimal experience, meaning you're handing the control over the experience over to your user, and that's always a good idea.

If you make any changes to the Mobile Switcher settings, always remember to click Save Changes before you leave the page.

There are currently no FAQs about WordPress Mobile Solutions.

 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

* Estimated file size

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed WordPress Mobile Solutions.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.