How To Make Related Posts To Show On Blogger Mobile View

·

After showcasing the redesigned mobile view of Ogbongeblog yesterday when I published “how to make addynamo ads appear on blogger mobile view“, I have received mails from some blogspot users, asking me how I make the related posts widget to appear on the mobile view of my blogger blog.

Well, you can get it done if you’ve switched to blogger custom mobile template and would be easier for you if you’ve installed my related posts widget to your blog. All you will just need to do is to carefully add some few lines of code to your blog’s html.

How To Get Started

==> Click here to install my related posts widget

*** Change the width in the css from 350px to 300px; perfect for the screen of most mobile phones.

==> If you have not enabled custom mobile template, login to your Blogger dashboard, go to “Template“. Under “Mobile“, select “Yes. Show mobile template on mobile devices” and choose “Custom” from the “choose mobile template” dropdown box and save your settings.

==> Now, we need to find the code for the default mobile share buttons so we can place the related posts gadget directly below it.

==> So, back up your template and go to “Template” > “Edit HTML

==> Click inside the HTML and use CTRL F to find <b:if cond=’data:top.showMobileShare’>

==> Carefully find the ending </div> as seen in the screenshot below

==> Directly below it, copy and paste the code below:

<br>
<div style=’float:left;’>
<!– Related Posts with Thumbnails Code Start–>
<b:if cond=’data:blog.pageType == &quot;item&quot;’>
<div id=’related-posts’>
<font
face=’Arial’ size=’3′><b>Related Posts:
</b></font><font
color=’#FFFFFF’><b:loop values=’data:post.labels’
var=’label’><data:label.name/><b:if
cond=’data:label.isLast !=
&quot;true&quot;’>,</b:if><b:if
cond=’data:blog.pageType == &quot;item&quot;’>

<script
expr:src=’&quot;/feeds/posts/default/-/&quot; +
data:label.name +
&quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=5&quot;’

type=’text/javascript’/></b:if></b:loop>
</font>
<script type=’text/javascript’> removeRelatedDuplicates(); printRelatedLabels();
</script>
</div>
</b:if>
<!– Related Posts with Thumbnails Code End–>
  </div></br>

==> Save your template

==> View any blog post that has labels and you should see related posts links appearing right below the mobile share buttons.

Note: If you did not add a label (category) to a post, you might not see the related posts below it.

Did it work for you? Please, let me hear from you via comments.

Please Share :

Like What You Read?

Sign Up to get similar articles delivered to your email inbox.

Leave a Reply

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

33 responses to “How To Make Related Posts To Show On Blogger Mobile View”

  1. Bimbo Avatar
    Bimbo

    You rock bro. Will definitely try it when on PC. I hope you will share more tutorials on how you really customized that mobile view of your blog. God bless

    1. Jide Oguns Avatar

      I will..God bless you too.

  2. Oscar Avatar

    Cool Tip Jide. I was about writing a tutorial about this on my blog after I came across your last article and a comment requesting this tutorial. Anyway, you've just beaten me to that, Nice job well done.

    1. Jide Oguns Avatar

      Thanks bro

  3. Onyema Shedrach Avatar

    Gud day sir, please, how can I customize my blogger template to display fast on web version view without being slow on small mobile Devices like java phone

    1. Jide Oguns Avatar

      Use Google PageSpeed Insights Tool to analyze your site and follow the recommendations.

  4. Daniel chinaza Avatar

    Thanks for the help. Please how or where do i get a good seo optimized template for my blog that will be friendly to google adsense and also with a good mobile template. Pls i seriously need your reply

    1. Jide Oguns Avatar

      Just google it bro. Loads of them right there. Can't give you a list…

  5. Vester Kobo Avatar

    Thank you oga jide for this cool article, i have ben hearing about you. i just kick-off in blogging now, my blog is http://koborecruitment.blogspot.com/
    . thank you, i,m already ur fan on facebook

    1. Jide Oguns Avatar

      Thanks for been a fan. Wish you success with your new blog.

  6. Olili Bob Avatar

    nice tips boss, and i must say i love the new mobile view for ogbonge blog.i once wrote a post on how to make some pages show on custom mobile template but yours is totally different. tnx for sharing

    1. Jide Oguns Avatar

      You're welcome bro. Glad you lobe the new new mobile view. 🙂

  7. Ameh Joseph Avatar

    Oga Jide. Pls I don't know how to do this "*** Change the width in the css from 350px to 300px; perfect for the screen of most mobile phones."

    Would be glad if u could explain

    1. Jide Oguns Avatar

      If you check the linked tutorial on how to install my related posts widget, you will see 350px in the code. Change it to 300px.

  8. Oke Umurhohwo Avatar

    Thanks a lot for this boss Jide. But i did everything as stated clearly above, but it is not working for me on the mobile template. When i changed the mobile template to custom view even with 'show mobile template on mobile' set to on, it was showing the desktop version, so i had to change to awesome mobile templete. Just hoping it might come up later,.. or is there something else i am not getting?

    1. Jide Oguns Avatar

      You are probably using one of those old third party templates. You need to add the Blogger mobile class and some codes to the template before it can display the mobile view when set to "custom".

  9. GODWIN OGIDAN Avatar

    Perfectly working, yu are truly a king. Respect man

  10. GODWIN OGIDAN Avatar

    Jide pls is there a way to make it show only on mobile only, because I prefer Using Linkwithin which has thumbnails for web version (pc view). Thanks

  11. Ebuka Nwadike Avatar

    I've been trying this out for a while now but i only got the pc view. Mobile view is kinda hard. But will give it a try once more.

  12. Collins Okafor Avatar

    Pls hw can I add facebook comment box to my mobile view just like ur own Sir

    1. Jide Oguns Avatar

      I will try and come up with a tutorial on that.

  13. Daayur Avatar

    I saw this on Google search and i really appreciate ur writeup bro. it works

    1. Jide Oguns Avatar

      Thanks for confirming that it works. Enjoy bro!

  14. June Jacobs Avatar

    Thanks Jide!! This has really worked well for me..infact i'm truly a fan of your blog..check it out please..:www.junejacobsblog.blogspot.com..
    You're the best!!!

  15. Tosin Ariyo Avatar

    I am using engageya widget for my related post…how can i make it appear on mobile site of my blog http://mygistertainment.blogspot.com pls help!

  16. pronoahtech.com.ng Avatar

    Thanks Mr. Jide it worked for me please keep it up

  17. Prosper Noah Avatar

    Can any one help please? The related Posts widget is not appearing on Desktop View

  18. TemmyGuru Avatar

    Nice work boss…. after coping the code i noticed something which you should edit, the
    and end tag….. it shows errors not until i remove those tag. Thanks….now working perfectly on my blog http://temmyguru.com

  19. Gift Amadi Avatar

    Please sir it's displaying on my mobile view but not on desktop view. What should I do?

  20. joshua abiye Avatar

    Sir please how do I go about this:
    Change the width in the css from 350px to 300px; perfect for the screen of most mobile phones.

    I have been searching for it I can't find it.

    I added a popular post widget on my mobile view,but when I check it,.. It cuts by the side

  21. almusteeytagago Avatar
    almusteeytagago

    thanks for the help my site is Atfile.blogspot.com

  22. Realsegxy Avatar
    Realsegxy

    I was getting an error response. can someone help me out? Thanks
    “Error parsing XML, line 3327, column 12: Open quote is expected for attribute “style” associated with an element type “div””

  23. Elochi Avatar
    Elochi

    wow, am glad to find this post worthy….I have done it on Pc and its showing very well but having issues with the mobile view, now let me try it out again using this tips.

    thank you jide for the updates.

Search

Copyright © 2025 | About | Advertise | Privacy Policy | Proudly powered by WordPress