Tech Magazine

Adding a Share Button to Your Mobilepress

Posted on the 27 November 2012 by Babanature @proudlyonenaija

Do you use mobilepress as your wordpress mobile theme? Do you get lots of traffic from mobile? Do your mobilepress have a share button? Don’t answer because I’ve already known the answer. For your blog or website to grow you need people to read it and share your content so more people can read and also share, but what if your mobile readers can’t share your content because no share button for them to do so? It won’t be good right? So on our today issue, we are going to put a share button to our mobilepress theme so that our mobile viewers can easily share our content to their friends and loved ones.

Moblie press

Before we proceed with this short tutorial, just know that you do not need any additional skills just follow the steps and you are there. Shall we proceed?

HOW TO ADD A SHARE BUTTON TO YOUR MOBILEPRESS THEME

In order to make it as simple as possible we are going to be using a plug-in called “post layout”.

What is post layout plugin: According to the author of the plugin, a “Post Layout” gives you an incredible flexibility to insert whatever you want in posts and pages body. The reason I love this plugin is anything you do on your desktop view will also affect the mobile view. like my previous post on “adding “email subscription” at the end of your posts.” , if you watch, the subscribe by email showed on desktop and on mobile view. You can download the post layout plug-in here

ADDING A SHARE BUTTON TO YOUR MOBILEPRESS

Now let’s proceed by putting the share button for our mobile viewers, copy the below code.

" displaytext="facebook" st_url="" class="st_facebook_buttons">" displaytext="twitter" st_url="" st_via="proudlyonenaija" class="st_twitter_buttons">" displaytext="sharethis" st_url="" class="st_sharethis_buttons">" displaytext="pinterest" st_url="" class="st_pinterest_buttons">" displaytext="plusone" st_url="" class="st_plusone_buttons">

Have you copied it? If you have copied it, it is time to paste it in our post layout. Hope you have installed your post layout plug-in? Now go to settings in your admin panel and click post layout. Once it opens click to check the “Enable the mobile user agent detection ” in the general options.

Where do you want the share button to be? If you want it to be above post paste the code “Before the content” at the “For mobile content” section, and if you want it to be below post then do the same below “After the content” paste the code at “For mobile devices” .

STEP #2: If all this is too stressful for you then you can do it the easiest way by installing sketch bookmark plug-in. download sketch bookmarks here, after downloading it, install it and it will automatically show up on the mobile view of your wordpress, now tell me how cool is that? Really cool, I know! So you can either use the first step or you use the second step.

ADDING A SHARE BUTTON TO YOUR MOBILEPRESS

Whichever one that works for you, don’t fail to drop a reply by using the comment box below.

If this post is helpful, do click the like button, share us and recommend us to friends. Do not forget to subscribe to our feed for latest update on the go.


You Might Also Like :

Back to Featured Articles on Logo Paperblog

These articles might interest you :

  • White Chocolate Mousse with Strawberries

    White Chocolate Mousse with Strawberries

    Hooray for British Strawberry Season which is just beginning! I try hard not to eat strawberries at any other time of the year. They are always hugely... Read more

    17 hours, 27 minutes ago by   Mariealicerayner
    FOOD & DRINK, RECIPES
  • How Far Can Too Fargo?

    Fargo?

    For such a tiny place, a lot of big things seem to happen in the town of Fargo.After the successful Cohen Brothers movie, audiences could be forgiven for... Read more

    18 hours, 40 minutes ago by   Thedook71
    CULTURE, SELF EXPRESSION
  • In The Bag?

    Bag?

    Manchester Monday night - what a frightful blight on young lives; a city rocked in the wrong way. The response has been resilience, a positive bonding of many... Read more

    20 hours, 21 minutes ago by   Ashleylister
    BOOKS, CREATIVITY, CULTURE, SELF EXPRESSION
  • All I Have To Do Is Stay Black And Die (or…The Road To Hell Is Paved With Good...

    Have Stay Black (or…The Road Hell Paved With Good Intent)

    So...over the Facebook wires yesterday came this..... The UU Congregation of Atlanta is moving. And in their information gathering, a survey was created. This... Read more

    The 27 May 2017 by   Eastofmidnight
    POLITICS, SOCIETY
  • Grand Union Canal Race 2017 – Updates

    Grand Union Canal Race 2017 Updates

    The 25th edition of the revered Grand Union Canal Race 2017 kicked off this morning at 6:00 am with a 107 starters.This 145 mile non-stop race from Gas Street... Read more

    The 27 May 2017 by   Abichal
    OTHER SPORTS, OUTDOORS
  • On Monasteries, Children, and Loving Our Enemies

    Monasteries, Children, Loving Enemies

    Gunmen Kill at Least 28 Coptic Christians in Egypt The headline spares nothing, except that there were children. I numbly read the article describing the... Read more

    The 27 May 2017 by   Marilyngardner5
    RELIGION, SELF EXPRESSION
  • Pouzza Fest 7 Brings Punk Rockers Together in Montreal

    Pouzza Fest Brings Punk Rockers Together Montreal

    Montreal’s 7th annual city punk festival Pouzza Fest took place last weekend in downtown Montreal including five indoor venues and  an outdoor The post Pouzza... Read more

    The 27 May 2017 by   Hendrik Pape
    ENTERTAINMENT, MEDIA, MUSIC

Magazine