Skip to main content

Posts

Showing posts with the label XML

Gadget in mobile home page alone

We had a query in the forum on how to make a gadget appear only on mobile home page. So thought of sharing it. ( Note - This post is for Blogger's first generation classic themes and not applicable if you are on a new generation responsive templates) Also Read: How to make a gadget appear only in Home page or the page you wish? Sign in to blogger . First Backup your blogger template . Go to Layout. Add a HTML/Java Script gadget that you want to make appear only in homepage of your blog and title it as homeonly (for qucik reference) Go to Dashboard > Template > Edit HTML. Press Ctrl + F and find homeonly . You will see a code as follows. <b:section class='main' id='main' preferred='no'> <b:widget id='HTML1' locked='false' title='homeonly' type='HTML'> <b:includable id='main'> <!-- only display title if it's non-empty --> <b:if cond='data:title != &quot;&q...

Related posts

So, In the BHF we had an user who came up with this idea of having related posts link under all posts: [MaapsWorld] How to use Lambda expression . Therefore I planned to add some salt and pepper to it and write an article on it. When it comes to related posts, first thing is that there is no way of automating this one easily. So we'll have half automation and half manual works on maintaining this gadget. The steps in implementing this gadget is split into three, Creating posts with proper Labels . Altering XML Updating(if in case).