The NetMediaBlog

  • Home
    • About NetMediaBlog
    • Contributors
    • Guest Posting
    • Contact
  • Technology
    • Computers
      • Softwares
      • Downloads
      • Gaming
    • Smartphones
    • Internet
      • Tech Guide
  • Tutorials
  • Blogging Tips
    • WordPress
    • Blogger
    • SEO
  • Social Media
    • Facebook
    • Twitter
    • LinkedIn

Create a WordPress Mobile Friendly site with Jetpack Mobile Theme

April 21, 2014 By Nwosu Desmond 17 Comments

There is no doubt a large percentage of internet users surf the web with the smartphones and other mobile devices. In a few years the percentage of mobile devices will outnumber the conventional computing devices and as a blogger or website owner this should bother you especially if your website is not mobile friendly.

IN an earlier article I published on this blog titled “The various ways to build WordPress Mobile Site”, I discussed the various ways one could build a WordPress mobile site for one’s website. One of the methods I mentioned was building a WordPress mobile friendly website with plugins such as WordPress Mobile Pack, WP Touch, Wapple Architect Mobile plugin, MobilePress, Jetpack Mobile Theme etc.

Today in this article I will be discussing how to create a WordPress mobile friendly site with Jetpack Mobile Theme. Jetpack is one of my favorite WordPress plugin as its importance is limitless to me. You can accomplish so many things with Jetpack than installing several other plugins for same purpose.

Earlier on this blog I was running Mobilepress plugin for my mobile site while I was using the other awesome features of Jetpack, then I thought why increase the number of plugins I have on my blog when I can eliminate all those with similar features as Jetpack?

So I decided to let go of Mobilepress and some other plugins I could find their features in Jetpack. So I created my mobile site with Jetpack Mobile Theme. If you are reading this post on mobile you will notice the neat interface/layout and design of this blog.

Create a WordPress Mobile Friendly site with Jetpack Mobile Theme

Jetpack Mobile Theme is indeed an easier way to create a WordPress mobile friendly site. I have taken my time to customize my mobile site and I will teach you all there is in this article.

Install Jetpack Plugin:

To get started, download and install Jetpack plugin on your WordPress site and activate the plugin. Then connect your Jetpack to WordPress.com to enable the Jetpack features. Connect and authorize Jetpack to your WordPress.com account, if you don’t have one you can quickly create one.

How to Install Mobile Theme:

Next you will notice that Jetpack tab has been added to your dashboard. Hover your mouse over it and select ‘Jetpack’. You will see lots of Jetpack’s modules, scroll down until you see ‘Mobile Theme’, click on the ‘Activate’ button to activate the mobile theme for your WordPress site.

Create a WordPress Mobile Friendly site with Jetpack Mobile Theme

How to Customize Jetpack Mobile Theme:

If you desire to customize your Jetpack Mobile Theme to add logo, show thumbnails and even add adsense to your mobile theme then you will have to edit your Jetpack Mobile Theme.

Login to your Cpanel, open the file manager.

Navigate to /wp-content/plugins/jetpack/modules/minileven/theme/pub/minileven. This is where we will do all the customizations to make our site look unique.

How to Add Logo to Jetpack Mobile Theme (Minileven):

Open the header.php file and add locate <?php wp_head(); ?> on line 17. Then add the code below just below line 17.

<div id=”page”>

<div align=”center”><a href=”http://www.YOURDOMAIN.com”><img src=”YOUR LOGO URL” alt=”LOGO TITLE” border=”0″ title=”YOUR SITE TITLE“/></a></div>

Then save the header.php file. Ensure to change YOURDOMAIN LOGO TITLE, YOUR SITE TITLE appropriately and add the correct URL of your site logo.

This will create a div just above the menu and add your site logo to it.

How to change Jetpack Mobile Theme Color:

Navigate to /wp-content/plugins/jetpack/modules/minileven/theme/pub/minileven/style.css and edit the style.css file to match your current desktop theme.

How to remove powered by WordPress on Jetpack mobile theme

Navigate to /wp-content/plugins/jetpack/modules/minileven/theme/pub/minileven  and open the footer.php file and locate the

<?php do_action( ‘minileven_credits’ ); ?>

Right below it you can edit the id=”site-generator” tag as you wish.

How to add Adsense to Jetpack Mobile Theme:

There are two ways you can add adsense ads units to jetpack Mobile theme. You could manually edit the header.php file or use a plugin called Mobile Theme Ads for Jetpack.

Navigate to /wp-content/plugins/jetpack/modules/minileven/theme/pub/minileven and open the header.php file, scroll to the last line and add <div align=”center”>adsense code </div> and save.

This will show Google adsense add right under the menu on your Mobile Theme. You can also do same with the footer.php if you want to add ads to the footer area.

How to show Post Thumbnails on Jetpack Mobile theme:

By default Jetpack Mobile Theme does not show thumbnails, so if you will love to show your post thumbnails on your homepage and archives etc, install the Mobile Theme Featured images for Jetpack plugin.

Then go to Jetpack > Mobile Theme and click on the configure button on your dashboard. Select ‘Yes’ on the ‘Show features images on front page and archive pages and click the ‘Save configuration’ button to save.

This will show thumbnail images on your posts on both front page and archive pages of your WordPress mobile site.

How to add Mobile Widgets to Jetpack Mobile Theme:

If your site widgets are not showing on your mobile site that is because your sidebar is not registered as “sidebar-1” on your theme function.php.

But don’t worry I am about to show you how you can add mobile –specific widgets on your mobile site. These widgets will only be visible on your mobile site and not on your desktop site. The good thing is that you can choose which widgets to show on your mobile site.

This will involve editing your theme function.php file. Take a look at your function.php file you will notice something like this;

register_sidebar( array(
‘id’ => ‘main’,
‘name’ => __( ‘Main Sidebar’, ‘THEME-TEXT-DOMAIN’ ),
‘description’ => __( ‘This sidebar is for the full site’, ‘THEME-TEXT-DOMAIN’ ),
) );

In some sites the id may be ‘sidebar’. Copy the code below and paste it right below the one above on your function.php and save it.

register_sidebar( array(
‘id’ => ‘sidebar-1’,
‘name’ => __( ‘Mobile Widgets’, ‘THEME-TEXT-DOMAIN’ ),
‘description’ => __( ‘This sidebar is for the mobile theme’, ‘THEME-TEXT-DOMAIN‘ ),
) );

Remember to rename THEME-TEXT-DOMAIN to the name of your site theme. What we have simply done above is to add the ‘sidebar-1’ that Jetpack Mobile theme will recognize to our function.php.

Add mobile widgets to Mobile Theme

Then navigate to Appearance > Widgets on your dashboard and you will notice a new widget area called “Mobile Widgets”.

Add any widgets you will like to show on your mobile site to it and save. Launch your site on a mobile browser and see how it looks.

I hope I have shown you how to create a WordPress mobile friendly site with Jetpack Mobile Theme. If you have problems please don’t hesitate to ask via the comments.

Final Advice:

All your customizations will be lost on the next Jetpack update. So the only way to save your Mobile Theme customizations is to zip the minileven folder and download it to your PC or save it in any other folder on your server. After every Jetpack update, you simply go and replace the minileven files with your saved files.

Other Posts You May Like...

  • stock-market-3Top WordPress Plugins to Boost Your Site’s Traffic
  • Wordpress-start-image5 Great WP Widgets for Your Blog
  • GoogleAdsense1Preparing for an AdSense Application
  • downloadWhen you should make your AdSense application
  • website-monetization-1How to successfully monetize your website

Filed Under: Blogging Tips, How-To Tagged With: ads, adsense, Jetpack, minileven, Mobile Theme, Mobile website, MobilePress, plugin, wordpress

Comments

  1. emmanuel ekainu says

    April 21, 2014 at 3:44 pm

    hi nwosu. i’d really love the guide. i’ve tried it since but somehow not getting the desired theme. can you upload a customise theme to it?.Download Walkiprep Free Mobile Questions and Answers Apps for Students.

  2. Nwosu Mavtrevor says

    April 21, 2014 at 4:11 pm

    Simply follow the guide and you can customize your own theme. You may find it hard editing my customized theme as i have added a lot of codes in a lot of places.

  3. Samir says

    April 21, 2014 at 4:51 pm

    Hello,

    Well I’m using jetpack but didn’t enabled mobile friendly option and I think I wasn’t aware of it. I guess it would be really to use it.

    Thanks for sharing

  4. Sunday says

    April 21, 2014 at 9:12 pm

    Hi Desmond its helpful learning about how to customize mobile layout with the Jetpack Mobile theme. I guess this is another step to make the most of our mobile experience.

    Jetpack is one of my favorite plugins but I have not been using the mobile theme feature. I see that I am missing out on a lot! I am going to test it and compare with other plugins!

    This comment was shared in kingged.com – the social bookmarking and content syndication website for Internet marketers where this post was shared.

    Sunday – kingged.com contributor

    http://kingged.com/create-wordpress-mobile-friendly-site-jetpack-mobile-theme/

  5. Miracle Ayodele says

    April 21, 2014 at 10:06 pm

    Wow Nwosu, this is an explanatory guide you really explained to the fullest. If you know how i have search for this, you will really like to post this long ago. Anyway, thanks for sharing.

  6. Nwosu Mavtrevor says

    April 21, 2014 at 10:21 pm

    Glad you found it resourceful. You can build a WordPress mobile friendly site with Jetpack Mobile Theme and customize it just as you like.

  7. Arun Kallarackal says

    April 22, 2014 at 10:15 am

    Hi Nwosu,

    That was an awesome article. Much useful too, for WordPress users. Personally, I’m a big fan of Jetpack plugin’s mobile theme. I had tried some other mobile plugins. But nothing matches the simplicity and elegance that this theme provides.

    However, I never dared to edit its layout and looks so far. This article has however provided me with some insights into the matter and tips to get it done. Sure I could easily play around with the codes you mentioned and get the job done! :)

    And thanks for bringing that thumbnail enabling plugin to my attention. That would be something that’ll come real handy for me!

    The last part has to be taken seriously. It is evident that with each new update, the changes made by us will be over written. The strategy to download the files and replacing the updated files with out file will do the trick to retain the looks!

    Good article! I found the link to this post on Kingged.

    Arun

  8. surajjagoori says

    April 22, 2014 at 12:25 pm

    Hi Nwosu
    Great creativity and am glad you come up with this innovative idea. I will surely try this.

  9. Nwosu Mavtrevor says

    April 22, 2014 at 6:26 pm

    Glad you found it informative. I bet anyone with a good knowledge of HTML and CSS can do a lot of good to the theme.

  10. Nwosu Mavtrevor says

    April 22, 2014 at 6:28 pm

    You will definitely like it, dont fail to share your mobile site here with me when you are done.

  11. Jon Adam says

    April 22, 2014 at 10:19 pm

    Nwosu Mavtrevor

    Dear you have rescued me from spending money a paid WordPress mobile theme . And all the editing instructions are clear crystal for me . thanks man

  12. Mark1 says

    April 23, 2014 at 12:08 am

    From where I am sitting this is the most important post I have read all week, maybe all month.
    I have too many plugins and JetPack is among them. I can dump my mobile site plugin and use JetPack. Anything I can do to trim down the plugin list is very helpful to me.
    Thanks

  13. Jackson Nwachukwu says

    April 23, 2014 at 1:01 am

    Hi Ikenga,
    I have once installed JetPack on my blog but was not really keen on activating the mobile feature. This is really a cool and informative article which I am sure many WordPress users would find handy.

    At the moment, I am using the highly customized MobilePress plugin to render a mobile friendly version of my blog to readers.

    Thanks once again for sharing.

    Cheers!

  14. Nwosu Mavtrevor says

    April 23, 2014 at 4:53 am

    Glad you liked it. If you have any more challenges along the way let me know. And don’t forget to come back and show off your mobile site when you are done.

  15. Nwosu Mavtrevor says

    April 23, 2014 at 4:55 am

    That was the same idea i had in mind when i removed the plugins that have similar features with Jetpack.

  16. Nwosu Mavtrevor says

    April 23, 2014 at 4:57 am

    Why use more plugins when Jetpack can meet most of your needs? All the same, i used MobilePress but decided to switch to Jetpack so as to reduce the number of plugins i have on my blog.

  17. vino says

    April 23, 2014 at 8:54 am

    This is definetely gonna to be useful post for many who are trying to build a mobile friendly website with wordpress.YOu have explained every steps clearly and I really express my heartful thanks to this wonderful post

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Subscribe To My Blog

Get the latest content first.


Recommended Articles

  • How to Root Tecno N7 with SuperOneClick & Unlock Root Downloader
  • Backup Android apps for rooted phones – Paid and Free
  • How to Monitor Blog Downtime
  • Why SSD is better than HDD? SSD in cloud computing
  • Using BizSugar as Content Promotion Tool

Recommended from BroadedNet

We are upgrading BroadedNet, Blog Traffic Tool. Please keep reading www.netmediablog.com
Get Netmediablog Extension

Find Us on Facebook

Recent Comments

  • Sugar Daddy on Search Engine Optimization Tips for Images
  • Sugar Mummy on How an Active Blog Affects Your Google Rank
  • Larry Frank on 15 Highly Optimized WordPress Themes for Search Engines
  • Steven on How to transfer Contacts from Samsung Galaxy S2 to Galaxy S4
DMCA.com
  • About NetMediaBlog
  • Contributors
  • Advertise With Us
  • Contact Us
  • Guest Posting
  • Privacy Policy

Disclaimer Copyright © 2023 Netmediablog . Log in