navigate site menu

Start learning with our library of video tutorials taught by experts. Get started

WordPress Mobile Solutions

WordPress Mobile Solutions

with Morten Rand-Hendriksen

 


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

show more

author
Morten Rand-Hendriksen
subject
Web, CMS, Interaction Design, Projects
software
WordPress 3.x
level
Beginner
duration
44m 26s
released
Aug 10, 2012

Share this course

Ready to join? get started


Keep up with news, tips, and latest courses.

submit Course details submit clicked more info

Please wait...

Search the closed captioning text for this course by entering the keyword you’d like to search, or browse the closed captioning text by selecting the chapter name below and choosing the video title you’d like to review.



Introduction
Welcome
00:04Hi, I am Morten Rand-Hendriksen, and I am here to show you some mobile plug-ins
00:08for your WordPress site. Welcome to WordPress Mobile Solutions.
00:13In this course, we will take a close look at some different plug-ins you can use
00:17to quickly make your WordPress powered site mobile friendly.
00:20First, we'll take a look at the WordPress Mobile Pack plug-in that allows you to
00:24switch themes depending on whether the visitor is using a mobile device or a
00:28regular computer, and that provides you with some basic mobile themes.
00:32Then we will look at the WP Mobile Detector plug-in, which provides similar
00:37functionality to the WordPress Mobile Pack, but in a different package and
00:41with different results.
00:43And finally, we'll look at the free version of the popular WPtouch plug-in, which
00:48gives you a modern looking customizable mobile theme.
00:51If you have a web site these days it needs to be mobile friendly.
00:55I am here to help you make that happen.
00:57So let's get cracking with WordPress Mobile Solutions.
Collapse this transcript
1. Why Mobile Matters
Experiencing the (not so) mobile web
00:00If I ask you how you access the web these days, I bet your answer will be
00:05something like, with my phone, or with my tablet, long before it is on my Desktop computer.
00:11With introduction of Smartphones and tablets, the way people visit and interact
00:16with the web has changed completely.
00:18In the past, the web was focused mainly on desktop computers with ever larger screens.
00:23Now the web needs to focus on the exact opposite, mobile computers and smaller screens.
00:29Using WordPress to create your web site, you have several options when it comes
00:33to dealing with this new mobile hurdle, but before we look at these options,
00:37let's take a look at to often not so mobile web.
00:40What you see here is that web site I built a couple of years ago, for the 12 x 12
00:45Vancouver Photo Marathon.
00:46It's a great web site as long as you are on a desktop, it has nice big buttons
00:50on it, it has nice dropdown menus, and it's very easy to navigate and get to
00:55where you want to go.
00:56However, if you open this on your cell phone, what you get is the exact same web
01:02site scaled down to fit the phone.
01:04That may sound okay, but it results in constant pinching and zooming to see
01:09what you want to do, and you keep poking at these menu buttons to try to get
01:13them to take you where you want to go, and generally it's an extremely frustrating experience.
01:18That's not because there is anything wrong with the web site, it's because the
01:21web site was built before we started considering what happens when people visit
01:26web sites with their mobile devices.
01:29To see one option for how you can solve this problem, go no further than my
01:34blog, Design Is Philosophy.
01:36What I did on this blog, was I created a Responsive Theme.
01:39A Responsive Theme is a theme and a layout that responds to the size of the
01:45screen that's accessing it.
01:47As you can see, here in my Desktop, as I resize this window, the content
01:52rearranges and changes to fit the screen, and you see even the menu changes from
01:59this regular menu up here to menu that snaps on the bottom of the list.
02:04And if I go to a single post, you will see that as I change the size the
02:09window, the layout of the post changes moving the title around, and you get
02:17more space for the content.
02:20If you visit this web site on your cell phone, you get the exact same
02:23experience, only the entire web site is really squished in to fit with the phone.
02:28But even though it's squished in, you still get a good experience, and it's easy
02:32to access the content and everything works. This is what Responsive Design is all about.
02:38For third example, go check out readwriteweb.com.
02:44Now readwriteweb.com is not a WordPress site, but it serves as a great example
02:49of what you can do instead of creating a responsive theme.
02:53What readwriteweb has done is they have created a mobile version of their web
02:58site, that looks different and focuses specifically on mobile users, that means
03:03you are landing on a different type of web site when you use your mobile
03:07devices, and you can do the same thing in WordPress by using a plug-in.
03:11In this course, we are going to be looking at how you can use plug-ins to create
03:15mobile specific web sites.
03:17All these plug-ins have the same goal, that is to create a web site that's easy
03:21to navigate and ingest for mobile users, and they go about it in different ways
03:26producing different results.
03:28The commonality between all these plug-ins is that they create consistent user
03:32experiences across multiple different web sites.
03:35So you will recognize the same type of layout for different web sites using the same plug-in.
03:42If you're looking for information on how to build responsive themes for
03:45WordPress, you should go check out the other course
03:49WordPress: Building Responsive Themes, right here on the lynda.com online training library.
03:54This course will teach you how to build exactly what you see here.
03:58This is the Anaximander Theme, and it was built specifically for that course
04:03and for lynda viewers.
04:04So if you follow that course from beginning to end you'll end up with exactly
04:08the site you're seeing right now.
04:10The whole point of having a web site is for people to be able to access the
04:14information on that web site.
04:16That means as the technology landscape changes so the web site itself has to
04:20change to accommodate the new reality.
04:23By making your site accessible with mobile devices, you keep yourself and your
04:27information accessible as the Internet landscape changes.
Collapse this transcript
2. Using the WordPress Mobile Pack
Installing and activating the WordPress Mobile Pack plug-in
00:01WordPress Mobile Pack is a powerful mobile plug-in for WordPress.
00:05That gives you several different ways of serving up mobile solutions from
00:09your WordPress site.
00:10This plug-in has been around for a long time and the reason why it stays so
00:14popular is because it has so many different ways of doing things.
00:17So when you install the WordPress Mobile Pack just like the name suggests,
00:22you're not just installing one function, you're installing several.
00:25So let's take a look at it.
00:26I'll go to my site and go the Dashboard and go to Plug-ins and Add New.
00:34From here I'll search for WordPress Mobile Pack and here we get some different options.
00:44Now you'll notice that there are two main options here you have, WordPress
00:47Mobile Pack, and then you have WordPress Mobile Pack + HUNT.
00:50What you want is the straight up WordPress Mobile Pack, so I'll click and
00:54install that, so I'll click Install Now and Activate the Plug-in.
01:01And once this plug-in is activated you'll notice here we have several different
01:05options, we have the Mobile Switcher, we have Themes, Widgets, Analytics, and something called mpexo.
01:12We'll look at all that later, but for now let's take a look at what this looks
01:15like right out of the box on a phone.
01:17When loaded on the phone you see that the WordPress Mobile Pack default theme is
01:22a stripped-down theme that gives you only text and very limited styling.
01:27That means it loads quickly, and it functions really well on the phone.
01:31If we go to the Blog section on the site, you get a list of the different blog
01:35items along with links to the categories, and also the comments, and if we go
01:40into a single post here, let's scroll to the bottom, you'll see you have accordion
01:45functionality for Comments, and for Leaving a comment for yourself, which makes
01:51this a very user-friendly theme for cell phones.
Collapse this transcript
Configuring the Mobile Theme Switcher
00:00WordPress Mobile Pack gives you several options when it comes to handling mobile visitors.
00:05At the core of the plug-in, is the Mobile Theme Switcher, which just like the
00:09name suggests, allows you to switch the theme when the site is accessed from a mobile device.
00:14This means you're not bound by the themes that come with a plug-in,
00:18you can also create your own custom themes that show up only on mobile devices.
00:23The Mobile Theme Switcher has several different options.
00:26To get to it we have to go to the Dashboard, and if we go to Appearance you'll
00:31see that WordPress Mobile Pack has added three new options:
00:34Mobile Theme, Mobile Widgets and Mobile Switcher, we want to go to Mobile Switcher.
00:41From the Mobile Switcher Configuration page we can set up how the plug-in
00:46identifies mobile devices and what theme we serve up to those mobile devices.
00:52From the top we have the Switcher mode where the identification happens.
00:55We can disable the function so that we don't detect mobile devices.
00:59I don't know why you would want to do that, but you can.
01:02You also have Browser detection, which is the standard mode.
01:05This is the default and the one I recommend you do.
01:07It identifies the browser as a mobile browser, or a desktop browser, and then
01:12serves up themes depending on that. You can also use Domain mapping.
01:16This requires that you have access to your DNS settings, and that your DNS host
01:21allows you to do Wildcard Mapping, but it allows you to sets a different
01:26domain, for instance m.something,
01:28for the mobile site, which can be useful in some cases, or you can do
01:34both Browser Detection and Domain Mapping.
01:36For almost all cases Browser Detection is the best option, so you should leave it at that.
01:41Directly below we can select what Mobile theme we want to use.
01:45WordPress Mobile Pack ships with four custom mobile themes.
01:49They all look pretty much the same except for the color.
01:51The base is kind of brownish then you have a blue, a green, and a red option.
01:57But in addition, you get a list of all the themes you have installed on your site,
02:01and you can use any of these themes as a mobile theme.
02:04And this is really cool if you have a custom theme for your site that
02:07controls how it looks, and you also want to serve up a custom experience for
02:11people who access the site with mobile devices because you can then create a
02:15custom version of your theme just for mobile devices so that whenever someone
02:20visits your site on a mobile device, they will get your theme customized for
02:25a mobile experience.
02:27If you don't have your own custom mobile theme, but you're still going to serve
02:31up something other, than the cookie-cutter themes that come with the WordPress
02:35Mobile Pack, you can choose to use a Responsive theme like Twenty Eleven or
02:40another responsive theme just for the mobile devices.
02:43The next three options relate to the Switcher mode, so if you set the Switcher
02:48mode to Domain mapping, you can now change the Desktop domain and the Mobile
02:53domains so that the different users land on the correct sites.
02:57Like I said before, this is an advanced option, and it's really not necessary if
03:01you use the Browser detection option, but if you do, and you know what you're
03:05doing you can experiment with these settings as well.
03:07Finally, at the bottom you have Footer links.
03:10This allows you to place a small link in the footer of the mobile site that
03:14gives the visitor the ability to jump back to the desktop site.
03:18This is really useful because a lot of people when they land on these mobile
03:22sites don't like what they see or they maybe looking for something specific like
03:26an image or gallery or something that's being excluded by the mobile theme.
03:30By giving them this link they can choose to go back to the desktop experience
03:35even if it's a sub-optimal experience, meaning you're handing the control over
03:40the experience over to your user, and that's always a good idea.
03:44If you make any changes to the Mobile Switcher settings, always remember to
03:47click Save Changes before you leave the page.
Collapse this transcript
Configuring mobile themes
00:01If you choose to use one of the default mobile themes that's shipped with
00:05WordPress Mobile Pack, you can further customize its behavior in the
00:09Mobile Theme section.
00:10The Mobile Theme section is found under Appearance and Mobile Theme and from
00:15here you have several new options that you can turn on or off, or customize, to
00:21make your mobile site work the way you want it to.
00:24Off the top, you can Enable, or Disable, Nokia Templates.
00:28This is for people who use old Nokia type phones that have a different type of
00:32browser in them, so this plug-in ships with custom experiences for those mobile users.
00:38You can also check the mobile status of your site using a ready.mobi.
00:43It's an online service that goes into your site and checks how it will work
00:47on different devices.
00:49This might be a good idea if you are using a custom theme, and you're not sure
00:52how it's going to perform on different devices.
00:55All you do is you activate that theme, and then you click on Launch ready.mobi,
00:59and you will be taken directly to that site.
01:01Below that, you can choose whether you want to Show the Home link in your main menu.
01:06This is a common request for menus in general, people may or may not want to
01:11have that Home link show up, because in some cases if you're using a custom
01:15menu, you already have a Home link in the Custom menus, you don't want two of them.
01:20This is where you would turn that on or off. Next you can choose the Number of posts.
01:25So this will override the general number of posts section in WordPress and allow
01:30you to restrict the number of posts to show in an archive page, like the Index
01:35page or Category page or a Tag page on just the mobile devices.
01:41Below that, you can choose what type of information you want to show for each post.
01:45You can show Title only, Title and teaser for just the first post and then just
01:51the Title for the rest, or Title and teaser for all posts.
01:55You can also choose whether you want to show meta tags, including author, tags,
02:00categories, comments, and all that kind of stuff. Below that you can set the Teaser length.
02:06This is great if you have a lot of long teasers that you use for your theme,
02:11and you want to have a shorter version on the teasers for your Index pages on
02:15the mobile site, or in some cases you may want to have a longer teaser for your mobile site.
02:21The Number of widget items settings allows you to change the number of items
02:26in the widgets in your Mobile Theme because many widgets will default to
02:30quite a high number of items in lists, and in some cases that will look kind of
02:35weird on your phone.
02:36For instance, if you have a Tag Cloud, and you have hundreds of tags, you may
02:40not want to have to scroll through all of them.
02:42So here you can limit that number so that each widget will only have a
02:46certain number of items.
02:47You can also choose to Remove interactivity and media elements, such as
02:51JavaScript and Flash Items and movies and embedded frames.
02:55I would suggest you leave this on because some of those interactive items may
02:59cause havoc on your phone.
03:01They are not going to destroy the phone though, it just be extremely difficult
03:04to navigate on the phone.
03:06Partitioning large pages may or may not be a good idea, I think this made more
03:11sense previously when people had a harder time loading things, what it does is
03:15it literally splits large pages in several pages.
03:18You get the Next button on the bottom.
03:21In some cases it leads to better user experience, but I find myself getting
03:24really annoyed when I have to keep skipping to the next page to read something,
03:29so I would turn that off. You also have a Shrink images option.
03:34This is smart because it allows the mobile plug-in to shrink the images down so
03:39that they fit on a mobile device because not surprisingly a mobile device where
03:43there is much smaller screen size doesn't need gigantic pictures because then
03:47we are just wasting bandwidth.
03:50The Clear cache now button is associated with this, and it allows you to clear
03:54the cache, that is the saved versions of the smaller images.
03:59If you choose to change an image that's already into post, so if you check Clear
04:03cache now and save changes, then all the cached images, those are the images
04:08that were saved that are smaller will be deleted and new ones will be created
04:12next time they are called up.
04:13The final option, Simplify styling, is a clever little option that strips off any
04:19styling code that you may have put into your post.
04:22Things like making certain font bigger or smaller so that it looks good on the phone.
04:26Now if you do things properly you shouldn't really have much styling elements
04:30in your post and pages to begin with, but if you do, it's a good idea to leave
04:34this on so that the experience is good for the people who visit your site using mobile devices.
04:40If you make any changes here, remember to always click Save Changes at the end.
Collapse this transcript
Configuring mobile widgets
00:00Once the theme has been configured, you can further customize the mobile
00:04experience by deciding what widgets to show.
00:07Mobile Widgets show up quite differently from your regular sidebar widgets, so
00:11it's worth some experimentation to find out which widgets work and which widgets don't.
00:16Controlling the widgets in your mobile theme is a bit different from controlling
00:20your regular widgets.
00:22If we go to Appearance and Mobile Widgets, you'll see here it says, Use this
00:27page to select which of your current visible widgets will appear for your
00:31mobile users, and when you scroll down you will see that under Main Sidebar we
00:36have Recent Posts and Recent Comments, under Footer Area One we have Custom
00:40Menu, under Footer Area Two we have Recent Posts, and under Footer Area Three
00:45we have Categories.
00:47Where is this all coming from? It's coming from the Regular Widgets.
00:50So if we go to the Regular Widgets, you will see here under Main Sidebar, we
00:54have Recent Posts and Recent Comments, under Footer Area One we have Custom
00:58Menu, Footer Area Two, Recent Posts and Footer Area Three, Categories.
01:04So you here is what the Mobile Widgets function is doing is saying, hey, you
01:10have all of these widgets enabled for your regular theme, how many of those do
01:14you want to display in your mobile theme, that's great because it means you can
01:18add as many widgets as you want in your regular theme for desktop or laptop
01:22users, and then you can choose which ones you want to display on the mobile site as well.
01:28So if we have the widgets we want here, I can choose to go into Mobile
01:33Widgets and activate just a couple of them because those are the ones that I want to display.
01:39When I Save this and load the site on my mobile device, and I scroll to the
01:44bottom, I will see that the Active Widgets now appear as accordion menus at the
01:49bottom, so I can click on each of these accordion menus, and I get list of the
01:53items in that widget.
01:54For instance, under Recent Posts, I now get the five most recent posts, and
01:59under More Info I get a custom menu.
02:02So as you can see by configuring the Mobile Widgets, you get the same
02:06information that you have in your regular widgets on your regular theme, but you
02:10get them customized for the mobile experience.
Collapse this transcript
Tracking mobile analytics
00:00WordPress Mobile Pack has one more trick up its sleeve, Simple Mobile Analytics.
00:05They are not under the Appearance tab, but rather under the Tools tab, and if
00:10you go down here and click on Mobile Analytics, you get a simple page that
00:15gives you information about how many people who visit your site currently use mobile devices.
00:20These analytics are somewhat skewed because we have been experimenting with
00:24the site on our mobile devices all day, so therefore the percentage is extremely high.
00:30But for your regular site this kind of information is actually really important
00:34because then you can see how many people who visit your site use mobile devices
00:39and then customize the experience based on that.
00:41If we have a very high percentage like over 35%, like we do, of the people who
00:47use mobile devices, I'd strongly recommend creating a custom mobile theme for
00:52those people so that they get the same type of experience that the desktop
00:55users get on your site, but they don't get all the clutter that the desktop site has to offer.
01:02That way they get a consistent experience across all devices, and you can
01:07customize that experience to the devices they use.
01:10If you, like us, have been experimenting with a site and testing it constantly on
01:14your mobile device, you may want to Reset the Counter before you start using
01:20this data as valid data because the one thing you don't want to do is start
01:24working on your site because you think you need to customize it to your mobile
01:28users, while in reality you're just customizing it for yourself.
01:32And one more thing, as this page suggests, this is a very, very, very basic way
01:37of tracking mobile users.
01:39If you add a proper tracking service, like Google Analytics, to your site, you'll
01:44get far more detailed information about the people who visit your site, but for
01:48a quick look at what's going on, on your site, this is a perfect service.
Collapse this transcript
3. Using the WP Mobile Detector
Installing and activating the WP Mobile Detector
00:00An alternative to the WordPress Mobile Pack plug-in can be found in the WP
00:05Mobile Detector plug-in.
00:07These two plug-ins are very similar and they have many of the same
00:11functionalities, the main difference lies in the type of themes that they
00:14shipped with, and how these themes are managed.
00:17We can install the WP Mobile Detector plug-in the same way we installed the
00:21other plug-ins by going to the Dashboard, going to Plug-ins, and before I install
00:26it, I have to make sure that my WordPress Mobile Pack plug-in is deactivated so it
00:31doesn't clash with a new plug-in I am going to install.
00:34So if you go into plug-ins and WordPress Mobile Pack is Activated, click on
00:39Deactivate to deactivate it, then we can go to Add New, type in wp mobile detector,
00:51and here is the WP Mobile Detector, Install it, Activate the Plug-in, and once
01:01it's installed I can open the site on my mobile device, and I see that I
01:05immediately get this mobile-friendly theme that I can use to access the content.
01:10You'll also notice that this theme looks quite different from the one that came
01:14with the WordPress Mobile Pack.
01:16This is a more modern looking theme, and if you like this kind of look, then you
01:21may want to use this Plug-in instead.
Collapse this transcript
Configuring WP Mobile Detector settings
00:00The WP Mobile Detector plug-in comes with its own set of settings and configuration options.
00:07But before we look at that, I am just going to address something that you see right
00:11here on the Dashboard.
00:12This happens quite a lot when you install new plug-ins in WordPress, different
00:15plug-ins may serve up new content that you see on your Dashboard.
00:19In this case, the WP Mobile Detector adds this WP Mobile Detector Updates
00:24panel on the Dashboard.
00:26If you don't want to see this, you can either collapse it, you can grab it
00:31and move it somewhere else, or you can go to Screen Options and turn it off completely.
00:37This is completely optional, and it's just something I wanted to address because
00:41people tend to ask about it.
00:43Now to look at the settings, at the very bottom of our menu, you see that we now
00:48have WP Mobile Detector as an option and under here, you can go to Settings and
00:54see the settings that come with this plug-in. The settings are fairly basic and
00:58they are basically on off switches for different functions. You can decide to
01:03use the mobile statistics function they comes with for WP Mobile Detector you
01:07see it here under stats, yes or no. You can give credit to WordPress Mobile
01:12Detector with a footer link, yes or no, default to set the no.
01:16You can choose to Show a dashboard widget, and you can also choose whether you
01:21want to show the mobile theme to tablet devices. This is maybe the most important setting
01:25because in many cases the mobile themes to really work all by well on tablet devices.
01:31So in many cases you may want to consider turning this off especially for using
01:35a responsive theme for the rest of your web site. For each of these options you
01:39have an Update button so you don't have the keep saving the whole page and then
01:43going back and changing option, and you can experiment with these and see what
01:47you think, but like I said, they're fairly basic settings.
Collapse this transcript
Configuring WP Mobile Detector themes
00:00Just like you can pick what kind of theme you want to use for your main web site,
00:05you should be able to pick what kind of theme you use for your mobile sites.
00:09And just like in the WordPress Mobile Pack plug-in the WP Mobile Detector
00:13plug-in allows you to pick what theme you wanted people to see when they use mobile devices.
00:18If you go to the back end, go to WP Mobile Detector and select Mobile Themes
00:25you'll see a list of all the available mobile themes here, and you notice that
00:28this list looks quite like the General Theme Selector for WordPress.
00:33Here we have the different stock options that come with the WP Mobile Detector.
00:38You'll easily identify them because they're all made by websitez.com, and you
00:44can pick any one of these.
00:46You'll also see other themes, including the themes that you have installed,
00:50and because we were using the WordPress Mobile Pack earlier we also have
00:55those as options down here.
00:58Picking any of these themes will give you a nice mobile experience.
01:03So, for example, if you want to use this Bluesteel option I'll go and click
01:07Activate, and that will activate Bluesteel as the mobile theme.
01:12If I go to my phone now we can take a closer look at this theme.
01:17From the top you see the site name, and there's a dropdown menu where I get the
01:22Search option, I also get the regular menu options, and this is one of the
01:26custom menus, and I also get the widgets.
01:30So these different themes will place the widgets in different places.
01:33In the case of this Bluesteel theme the widgets are placed in this dropdown
01:37menu on the header.
01:38As we scroll down you see we have the site name and the content, and if we go
01:44using our menu to the News and Information section, which is the Blog section for
01:49this site, you see we get a fairly standard blog with the date, the title, and a short
01:57version of the post.
01:58You can collapse the first post if you want to, and you can also expand any of
02:02the other post to see the short description of each of the posts.
02:06If you click on the title, you go directly to a full post where you have the tags,
02:12the categories, and you can also leave a comment.
02:18WP Mobile Detector ships with the several different themes and they all have
02:21slightly different configurations and different functionality, so I urge you
02:25to try a couple of different ones to see which one you like the best and then activate that one.
Collapse this transcript
Tracking WP Mobile Detector analytics
00:01The last feature in the WP Mobile Detector plug-in is the stats.
00:07Again, just like the WordPress Mobile Pack plug-in, WP Mobile Detector has its own
00:13built-in stats system. The stats separate the users into three groups,
00:18Basic Mobile Devices, Advanced Mobile Devices, and it also tracks Googlebot and
00:24Bing Bot so that you know that in some cases these aren't real users.
00:27You'll see the stats displayed here, and you can see how many unique users there
00:32are based on IP address, and you can also see how many total visits.
00:36You can select between Today, Last 7 Days, or Month-To-Date, and you also get
00:41some basic information about the user agent, that is what kind of device was used.
00:46Although most of this information can be gathered using a more advanced
00:49application like Google Analytics,
00:52it's good to have this kind of simple view that just tells you how many people
00:56are actually visiting your site using a mobile device.
01:00That way you can see what types of device being used and how many people are
01:03going back to your site on their mobile device by looking at this Total Visits value.
01:08That way you have an idea of how much time and effort you should put into the
01:13mobile version of your site to make it work for those people.
01:17If you don't have a lot of mobile visitors, it's not all that important, but if a
01:21large percentage of your visitors are using mobile devices, you really should
01:25make an experience that is as much tailored to them as possible.
01:29Overall, if you compare the two together, the WP Mobile Detector plug-in is easier
01:34to use and has more modern themes than the WordPress Mobile Pack plug-in.
01:38However, the WordPress Mobile Pack plug-in has more advanced features and more customizability.
01:44So it's a toss up, do you want a more modern look and simpler functionality, or do
01:49you want more options?
Collapse this transcript
4. Using the Free Edition of WPtouch
Installing and activating WPtouch
00:00The last mobile plug-in we're going to look at is also the most popular one, called WPtouch.
00:05And as you can see it's been downloaded over 3.5 million times, and that's
00:10just the free version.
00:11There's also a paid version with far more advanced functionality that is
00:16also extremely popular.
00:18WPtouch is different from the two other plug-ins we have looked at.
00:21In that, this is not a mobile theme switcher, but rather a custom mobile theme.
00:27Because of this, the developers have spent far more time looking at graphics,
00:32making it look really nice on different devices, and also giving it full support.
00:37That means, lots of customizability and a really consistent layout for everyone.
00:42Before we install WPtouch let's make sure the other mobile plug-ins are turned
00:46off so we don't get any collisions.
00:48So I am going to go and deactivate the WP Mobile Detector plug-in here, and then
00:53because I have had some bad experiences with deactivating this particular
00:57plug-in before, I am going to go to Appearance > Themes, and make sure that the
01:02Twenty Eleven theme is still active. I'll even go to the front page just to check.
01:06Because in some rare cases when you deactivate the WP Mobile Detector plug-in
01:11for some reason the main theme also gets temporarily deactivated, and you have
01:15to reactivate it to make it work, but in this case everything is fine.
01:19Now I can go back to the Dashboard, go to Plug-ins > Add New, and search for WPtouch.
01:32I'll install WPtouch, activate it, and when I now open the site on my phone we
01:42get a very nice mobile experience.
01:45As you see this plug-in has very iPhone inspired look, and it has features
01:51like a dropdown menu at the top, a search bar at the top, but the power of
01:58WPtouch lies in all the customization you can do with this theme, and that's
02:02what we'll look at next.
Collapse this transcript
Configuring general settings and advanced options
00:00Even in the free version, the WPtouch plug-in has a lot of customization
00:05options that help you customize the mobile experience for visitors that use mobile devices.
00:11To get to those settings go to the Dashboard > Settings > WPtouch.
00:18Here you get the dashboard for WPtouch, and here you can configure all the settings.
00:22At the very top you have a feed that shows you the latest news about the plug-in,
00:28along with a big ad for the WPtouch Pro plug-in, which if you like WPtouch you
00:34may want to invest in because it has a lot of extra functionality like iPad support and other things.
00:39And directly underneath, you have Settings, and that's what we're going to look at now.
00:46Off the top you have Regional Settings that have to do with the plug-in itself,
00:49so in all this language that you see here can be switched either from
00:53automatically detected--which is where you should leave it--to French, Spanish,
00:58Basque, Japanese, Turkish, or Italian.
01:01This only applies to the language in the plug-in itself, so like I said, you
01:06should leave it at Automatically detected.
01:07The next option is really important, and it is the Home Page Re-Direction option.
01:13If you look at the site I have right now you'll see that the front page is
01:18a static page, and the blog is placed under News and Information under a page called Blog.
01:24If I want to make the homepage on mobile devices be the blog page, I need to
01:30override the Reading Options which are set to the static page, and I can do that right here.
01:35So I simply drop it down, and I select the page--in this case the Blog page--and
01:41then the Home Page will now be the Blog page.
01:43Below that I can change the title of the site if I don't want to use the
01:47standard site title, and I can exclude categories and tags based on the IDs for those.
01:52That's because in the plug-in when you hit the dropdown menu at the top,
01:58you get the category list, and in some cases you may want to exclude them so that
02:02they don't appear on the phone.
02:04That's especially important if you have a category with content you don't think
02:07we'll display properly on the phone anyway.
02:09You can set Text Justification either to Left aligned or to Full or justified,
02:15and you can choose what type of icons you want each post to have.
02:19The default is the calendar icon that you can see on the phone, but you can also
02:24choose to set it to Post Thumbnails, or you can set it to No Icon.
02:30For each post you can also decide whether you want to see Truncated Titles, that
02:34means if the titles too long to fit on the screen, they will just add a ellipses
02:39to the end, that dot, dot, dot. You can also choose whether you want to Show the
02:43Authors Name, so if you have a one- author web site you may want to turn it off,
02:48but if you have multiple authors you may want to turn it on. You can choose
02:52whether to Show the Categories, the Tags, and whether to hide the excerpts.
02:55Finally, in the general settings, you can set a customized footer message.
02:59By default it just says, All content Copyright, and then it puts in the name of
03:04the blog, but you can put in anything you want.
03:06Below the General settings we have Advanced Options, and these are on/off
03:10toggles for different settings. You can allow or disallow zooming on content,
03:14so you can do the pinch and zoom. That should be left off. You can Enable
03:18Categories in the header that's under the dropdown menu. You can also Enable
03:23Tabs and a Search link in header.
03:26If you want to you can enable login in the header. I would say that generally
03:30that's not a good idea, because you don't want people to try to log into your
03:34site, but in some cases you may want to make this an option.
03:38And you can wire this plug-in in with other plug-ins like GigPress or
03:41WordTwit that show you either Twitter links or what's coming up on the blog.
03:47You can enable comments on posts, enable comments on pages, enable gravatars, and comments.
03:53Gravatars are those little faces that you see next to the comments.
03:56And finally, you can set it so that the first time someone visits your web site
04:01using a mobile device they get the desktop theme instead of the mobile theme.
04:05That may be a good idea if you really want people to identify the web site ask
04:10your web site the first time and then have them use the mobile theme.
04:15The last two options, Enable WPtouch Restricted mode and Custom user-agents, are
04:20advanced options that are rarely used, and the only reason you'd want to use them
04:25is if you have very specific user scenarios.
Collapse this transcript
Setting options for push notifications, style, color, advertising, and stats
00:00In addition to general and advanced settings, WPtouch comes with extra settings
00:05that allow you to set up push notifications, advertising and stats, and also apply
00:11some simple custom styling to your mobile sites.
00:14If we scroll down past General Settings and Advanced Settings, you'll get to the
00:19Push Notification Options.
00:21This option allows you to wire your mobile site to service know as Prowl that
00:26enables the web site to send push notifications to mobile devices.
00:31To use this, you first have to have a Prowl API key that you can get from
00:36prowlapp.com, and this API key allows you to link your site with the prowl
00:41service, and that in turn will push notifications through cell phones.
00:46Those notifications would be new comments and pingbacks, account registrations,
00:52and allowing users to send direct messages.
00:55Below Push Notification options, we have Style & Color Options.
00:59The Style & Color Options are fairly basic, and they allow you to control a bit
01:03of the look of the site. We could go in here and change the Background from the
01:07Classic to one of the other default options here.
01:12We can also change the fonts for the post titles to one of these options on the
01:16dropdown, and we can also change some of the colors on the site, including the
01:22title text color, the header background color, the sub-header background color,
01:26and the site-wide links colors.
01:27Below Style & Color Options we have Advertising, Stats & Custom Code.
01:33This function allows you to link your mobile site to advertising networks.
01:38In the free version of the plug-in you can only link it to Google AdSense, but if
01:43you have the Pro version, you can link to other advertising networks as well.
01:47If you want to use the advertising network here, you need to have a Google
01:50AdSense account, you get the AdSense ID, and you plug it in here, and then you
01:55can also set up a custom Google AdSense Channel just for the mobile site so
01:59that you can run statistics and see how many people interact with a mobile ads in this plug-in.
02:05Personally, I do not like the idea of putting ads on my site at all and
02:11especially not in a mobile site, but if you want to do that, this is where you would do it.
02:16More importantly, you can also add custom tracking codes for statistics, and this
02:22is something I highly urge you to do.
02:24Get a Google Analytics account and create two different tracking methods, one
02:29for your regular web sites and one for the mobile web site, and then you put in
02:34the tracking code here for the mobile web site. That way you run separate stats
02:39on the people that access your site through mobile devices, so you can truly see
02:43how they navigate through your site and compare that to how your desktop clients
02:48navigate through your site so that you can see what's going on and see what you
02:53need to perfect or change.
Collapse this transcript
Customizing the menu with icons
00:00When you have just installed WPtouch on your site and you open it on your
00:05mobile device and you use the dropdown at the very top, you'll see that you
00:09have three main items on the Menu, Home, RSS Feed, and Email.
00:15Next to that, unless you deactivated them, you have a list of tags and a list of categories.
00:21But nowhere in this interface do you have links to all the different pages on
00:25your site, which is probably something you want to have in the menu.
00:29The reason why you don't see all your pages on the menu right away is because
00:34the creators of WPtouch know that not everyone wants to display all their pages in the menu.
00:39There can be many reasons for this, for example, if you're using one page as the
00:45blog page and another page as the front page.
00:47If you want to customize the menu, you need to go to the WPtouch Admin Panel, and
00:52scroll all the way to the bottom.
00:56In the last option here called Logo Icon // Menu Items & Pages Icons, this is
01:03where you can customize the menu. Now I am just going to tell you outright,
01:06this is the free version of WPtouch, and it does not support the WordPress 3
01:11Custom Menu functionality.
01:13If you want the WordPress 3 Custom Menu functionality, you have to buy WPtouch Pro.
01:18But even with WPtouch as the free version you still can control it to quite an extent.
01:23Let's just ignore the first option for now and go down to this list.
01:28Here off the top, you can Enable the Home Menu item in the menu.
01:33And as you saw by default, the three you have is Home, RSS and Email.
01:39This is where you can enable or disable any one of these.
01:41For instance, I don't want a button so people can send me an email, so I am
01:46going to turn that off, and I also don't want the Home Menu items so I am going to turn that off.
01:51And I will explain why in a second.
01:53The next thing you can do is decide if you want the menu to be ordered based
01:58on name or page ID.
01:59So I am going to Name because name and page ID pretty much are the same thing,
02:03it's going to end up being fairly random.
02:05And then below here, you can select what pages you want to show in the menu.
02:09The reason why I don't want to show the homepage is because the homepage is
02:13actually just one of these pages.
02:15And for the mobile user, I want that page to say Welcome to KinetECOInc.
02:19So I am going to activate this page, I also want to activate Product Sampling,
02:25and Contact, and Blog.
02:28I am going to leave About, Company Structure, and KinetECO Executives blank.
02:34Now I will Save the Options, if we scroll back down again, almost all the way to
02:41the bottom, you will see we have the Default & Custom Icon Pool or the plug-in
02:45ships with a set of icons that you can use, including that Admin icon the cog,
02:50and social icons and things like that.
02:52And you can also upload your own icons if you want to.
02:55So what I am going to do here is Upload an Icon that I created, it's right here,
03:01and that icon is added to the pool.
03:04Once the icon is uploaded, I can now use it and assign it to anyone of my menu items.
03:09But to do so, I have to refresh my page first so that these dropdown menus have the new icon.
03:15So I will go and Save Options scroll down again to the bottom, and now at the
03:21bottom of my dropdown list, I have KinetECO icon that I can select.
03:26So I will select that for all of my pages first and Save it.
03:37And activate the dropdown, and now you see that my new custom icon appears
03:42next to all these items.
03:44But I want to go step further and assign icons that make sense compared to what
03:48those different buttons are.
03:49So I will go down and look at my icon sets again.
03:53And I see that I have a Blog button, and I have a Contact button.
03:57So I want to use icons that make more sense for that.
04:00So I am going to use these Notes for the blog and the Contacts button for the contact.
04:05So I will scroll down again, go to Blog, and find the one that's called Notes and
04:12then find Contacts, and use the one that's called Contacts, Save the Options
04:18again, and when I use the menu, you will see that we now have icons that clearly
04:24indicate what these different sections are.
04:27That way we're creating an experience that is very akin to what people are used
04:31to when they use mobile devices.
04:33Now we have Iconography that clearly indicates where they're going let me click
04:38on the different buttons.
04:39Because this is the free version of WPtouch, what you're seeing here is barely
04:43scratching the surface of what is possible.
04:46If you go to the web site to look at what is possible, you can see that while we
04:52are now at the free version-- which has pretty much all red Xs--
04:56all the pro versions have a lot more functionality, so it's well worth taking a
05:00look at what you can do when you upgrade to WPtouch Pro.
Collapse this transcript
5. Going further with WordPress for Mobile
The end of mobile plug-in customization is where responsive design begins
00:00In this course, we have been looking at how to use plug-ins to make simple
00:04mobile versions of web sites that are easy to access for mobile visitors.
00:10However, you would have notice that these mobile web sites have a very
00:14distinctive look, and that look doesn't really correspond with the look of your
00:19web site as a whole.
00:20There's a huge debate going on inside the web development community right now
00:24over these types of web sites.
00:26The question is do you go with the mobile specific web site that might be
00:30generic or do you create your own mobile version of the web site that looks
00:35exactly the way it should on mobile devices, or do you create a responsive web
00:41site that changes its content to fit with mobile devices?
00:46And this is a topic as fraught with controversy.
00:48So if you are lying on the other side, that's fine. But personally, I like responsive design.
00:54The reason being in responsive design, if it's implemented properly, the site
00:59you visit when you go on your mobile device will be the same site that you visit
01:03when you go on your desktop.
01:04And therefore, you'll see cohesion between the two.
01:08For an example of a site that uses responsive design in WordPress really well,
01:13go to the smashingmagazine.com web site.
01:14Smashing Magazine is an excellent resource for articles on design and
01:20development, and they write a lot about WordPress.
01:23But if you look at this site on your mobile device, you will notice that
01:27it works really well on the mobile device without this being a separate mobile solution.
01:32This site is responsive and will reformat its content to fit whatever size screen you're using.
01:38So if I am on a smart phone, it's rather small, and all the extra content has been cut off.
01:44But if I am on a large tablet, I get a different experience that has more extra content.
01:49If you're interested in learning how to build these responsive WordPress themes,
01:54check out my WordPress: Building Responsive Themes course right here on the lynda.com online training library.
02:01If you follow that course from start to finish, you'll end up with a fully-responsive theme of your own.
Collapse this transcript


Suggested courses to watch next:

WordPress Essential Training (6h 43m)
Morten Rand-Hendriksen



Are you sure you want to delete this bookmark?

cancel

Bookmark this Tutorial

Name

Description

{0} characters left

Tags

Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading
cancel

bookmark this course

{0} characters left Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading

Error:

go to playlists »

Create new playlist

name:
description:
save cancel

You must be a lynda.com member to watch this video.

Every course in the lynda.com library contains free videos that let you assess the quality of our tutorials before you subscribe—just click on the blue links to watch them. Become a member to access all 104,069 instructional videos.

get started learn more

If you are already an active lynda.com member, please log in to access the lynda.com library.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Access to lynda.com videos

Your organization has a limited access membership to the lynda.com library that allows access to only a specific, limited selection of courses.

You don't have access to this video.

You're logged in as an account administrator, but your membership is not active.

Contact a Training Solutions Advisor at 1 (888) 335-9632.

How to access this video.

If this course is one of your five classes, then your class currently isn't in session.

If you want to watch this video and it is not part of your class, upgrade your membership for unlimited access to the full library of 2,025 courses anytime, anywhere.

learn more upgrade

You can always watch the free content included in every course.

Questions? Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com.

You don't have access to this video.

You're logged in as an account administrator, but your membership is no longer active. You can still access reports and account information.

To reactivate your account, contact a Training Solutions Advisor at 1 1 (888) 335-9632.

Need help accessing this video?

You can't access this video from your master administrator account.

Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com for help accessing this video.

preview image of new course page

Try our new course pages

Explore our redesigned course pages, and tell us about your experience.

If you want to switch back to the old view, change your site preferences from the my account menu.

Try the new pages No, thanks

site feedback

Thanks for signing up.

We’ll send you a confirmation email shortly.


By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

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.

By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

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

   
submit Lightbox submit clicked