Showing posts with label Blogger Tutorial. Show all posts
Showing posts with label Blogger Tutorial. Show all posts

Saturday, January 12, 2013

How to Add a Breadcrumb Navigation to your Blogger Blog

How to Add a Breadcrumb Navigation to your Blogger Blog

It is not difficult to add a breadcrumb navigation to blogger. Just follow steps given below.


1. LogIn in to Blogger if you are not already logged in

2. Go to Design > Edit HTML

3. Back up your blog using Download Full Template as a precaution in case you accidently overwrite some code and are not able to retrieve it.

4. Check the Expand Widget Template box

5. Add the following CSS code above this line ]]></b:skin>

.breadcrumbs {float: left;width: 590px;font-size: 11px;margin: 5px 10px 20px 10px;padding: 0px 0px 3px 0px;border-bottom: double #EAEAEA;}

Once your breadcrumb is working modify this if you need to so that it blends with the look and style of your template.

6. Find this line of code <b:includable id='main' var='top'>

7. Older XML Blogger templates and custom templates replace the entire block of code below. If you are using the new generation of Blogger templates such as Simple look for alternative instructions further down in this Step)

<b:includable id='main' var='top'>
<!-- posts -->
<div class='blog-posts hfeed'>
<b:include data='top' name='status-message'/>
<data:adStart/>


with

<b:includable id='main' var='top'>
<!-- posts -->
<div class='blog-posts hfeed'>
<!-- disable default status message
<b:include data='top' name='status-message'/>default status message disabled -->
<b:include data='posts' name='breadcrumb'/><data:adStart/>

Find this code block and add the code in red between <div class='blog-posts hfeed'> and <data:defaultAdStart/>

<b:includable id='main' var='top'>
<b:if cond='data:top.showPlusOne'>
<script expr:src='data:top.plusOneJsUrl'/gt;
</b:if>
<!-- posts -->
<div class='blog-posts hfeed'>
<!--Breadcrumb Hack - disable default status message
<b:include data='top' name='status-message'/>default status message disabled -->
<b:include data='posts' name='breadcrumb'/>

<data:defaultAdStart/>

8. Now immediately before this line <b:includable id='main' var='top'> paste the following large block of code:
<b:includable id='breadcrumb' var='posts'><b:if cond='data:blog.homepageUrl == data:blog.url'><!-- No breadcrumb on front page --><b:else/><b:if cond='data:blog.pageType == "item"'><div class='breadcrumbs'>Browse » <a expr:href='data:blog.homepageUrl' rel='tag'>Home</a><b:loop values='data:posts' var='post'><b:if cond='data:post.labels'><b:loop values='data:post.labels' var='label'><b:if cond='data:label.isLast == "true"'> » <a expr:href='data:label.url' rel='tag'><data:label.name/></a> </b:if> </b:loop>» <span><data:post.title/></span> </b:if> </b:loop> </div><b:else/><b:if cond='data:blog.pageType == "archive"'><div class='breadcrumbs'>Browse » <a expr:href='data:blog.homepageUrl'>Home</a> » Archives for <data:blog.pageName/> </div> <b:else/><b:if cond='data:blog.pageType == "index"'> <div class='breadcrumbs'><b:if cond='data:blog.pageName == ""'>Browse » <a expr:href='data:blog.homepageUrl'>Home</a> » All posts <b:else/>Browse » <a expr:href='data:blog.homepageUrl'>Home</a> »Posts filed under <data:blog.pageName/></b:if> </div> </b:if> </b:if> </b:if></b:if></b:includable>
9. Click on Save Template.

Hope it will work. 
Thanks

Monday, November 19, 2012

Add an awesome shareing widget for Blogger

One of my favourite sharing widget for blogger. You can try this. Hope it will also be your favourite. Its installation is really very easy. A simple and short code. Here is the screenshot of this.

sharing widget for blogger,add sharing widget in blogger

Lets install it:

  • Login to your Blogger account.
  • Go to Template. For safety backup your template.
  • Then click Edit HTML and Proceed.
  • Check on Explande Widget Template.
  • Then find below code: 
<div class='post-footer-line post-footer-line-1'/>
Now post this code just before this.
<b:if cond='data:blog.pageType == &quot;item&quot;'> <table border='0' cellpadding='0' cellspacing='0' width='100%'> <tr> <td width='354'> <font color='#990000'>If You Enjoyed This Post Please Take 5 Seconds To Share It.</font> <br/> <br/> <span class='st_yahoo_button' displaytext='yahoo!'/> <span class='st_orkut_button' displaytext='orkut'/> <span class='st_google_button' displaytext='google'/> <span class='st_gbuzz_button' displaytext='google buzz'/> <span class='st_delicious_button' displaytext='delicious'/> <span class='st_diigo_button' displaytext='diigo'/> <span class='st_digg_button' displaytext='digg'/> <span class='st_twitter_button' displaytext='tweet'/> <span class='st_email_button' displaytext='email'/> <span class='st_facebook_button' displaytext='facebook'/> <span class='st_sharethis_button' displaytext='sharethis'/> <span class='st_plusone_button'/> </td> </tr> </table> </b:if> 
Now save this and See your site. Hope it will work!

[Please comment for any problem] 

Tuesday, September 04, 2012

Add a nice Twitter Follow Gadget in Blogger

Now we will see how to add Twitter Follow Gadget in Blogger. Like my website.
It's really cool. YA...

Add a nice Twitter Follow Gadget in Blogger,twitter widget in blogger,add floating twitter in blogger,nice twitter follow gadget in blogger.
Lets do it:
  • LonIN to your Blogger account.
  • Go to Layout.
  • Then click Add a Gadget and Select HTML/Javascript.
  • Now Put this code in it.
<a href='http://allhelpz.blogspot.com'><img alt='Tips Tricks And Tutorials' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinqwTxd-3vggpy-h8oFd4hNHi13VO6ba43pkpBpn2Gn7Xy7kIu8CQ8088IIycPhSFQfAaQn_RJOR-k_GPWfflqtH1OzxzXJtQyQoXOwPasixsdRopSnQb9PnAuItu2PPQVBzJe65VckFKZ/s1600/best+blogger+tips.png'/></a><div style='position: fixed; bottom: 20%; right: 0%;'/><a href="http://www.twitter.com/allhelpz" target="_blank"><img src="http://i47.tinypic.com/3345aao.png" /></a></div><a href="http://allhelpz.blogspot.com" target="_blank">Get This Gadget</a>
Replace your twitter user name. [Red color text allhelpz].
Add a nice Twitter Follow Gadget in Blogger,twitter widget in blogger,add floating twitter in blogger,nice twitter follow gadget in blogger.

Now save your template.

[Please comment for any Problem]

Add Loading Effect in Blogger

How are you all? I am busy for my examination. It is very important examination. So, I am late for new posts. Really Sorry for this.

Add loading effect in blogger, Loading effect in blogger, add loading function in blogger, add loading effect in blogspot.
 
Now we will see how to add Loading effect in Blogger. Like my website.
If anyone visit to your site then at first he will show a awesome loading page. After this loading page your website will show. After loading your site will not take any extra time to load. It's really cool. YA...

Lets do it:
  • LonIN to your Blogger account.
  • Go to Template > Edit HTML.
  • Enable Expand Widget Template.
  • Find </html> tag.
  • Now put this code just above </head> tag.
<style>
/*  jQuery page loading effect by www.allhelpz.blogspot.com */
#md-loading {
position: fixed;
z-index: 50;
top: 0; left: 0;
width: 100%; height: 100%;
background: #FDFEF8 url(http://www.liddabitsweets.com/wp-content/plugins/simplemap/inc/images/loading.gif) no-repeat center;
line-height: 350px;
text-align: center;
font-size: 36px;
color: #353231;
text-indent: -9999px;
}
.MD #md-loading { display: none; }@media only screen and (device-width: 768px) {
#loading {
position:absolute;
width:1040px;
min-height:768px;
}
}
#md-progress-bar {
position: absolute;
top: 0; left: 0;
background: #de1301;
opacity: 0.8;
width: 0;
height: 18px;
}
#md-loader {
height: 100%;
display: none;
}
</style>
<script>(function($){$("html").removeClass("MD");
$("#header").ready(function(){ $("#md-progress-bar").stop().animate({ width: "25%" },1500) });
$("#footer").ready(function(){ $("#md-progress-bar").stop().animate({ width: "75%" },1500) });

$(window).load(function(){
$("#md-progress-bar").stop().animate({ width: "100%" },600,function(){
$("#md-loading").fadeOut("fast",function(){ $(this).remove(); });
});

});
})(jQuery);
</script>
  • Now find <body> tag.
  • Now post this code just after <body> tag.
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<div id='md-loading'><div id='md-progress-bar'></div><div id='md-loader'>Loading...</div></div></b:if>

 Now save your template.

[Please comment for any Problem]

Monday, August 13, 2012

How to add related posts below/after every post in Blogger

Do you want to add Related posts/Similar posts widget below every post on your blog?
Lets do this :

How to add related posts below/after every post in Blogger,add related post on blogger


Although you do not have to use this file as I have already linked the file in STEP #5. So, store this file as a back up on your PC.

1. Go to Blogger.com
2. Now go to "Template" then to "Edit HTML" section
3. Back up your present template.
4. Now click on "Expand widget templates".
5. Find this code:
]]></b:skin>

Paste BEFORE/ABOVE this code:

<!-- Related Post css -->
<!--start related posts css Info : http://www.allhelpz.blogspot.com-->

ul#related-posts{
font-family:"Droid Sans",Helvetica,Arial,sans-serif;
font-size:10px;
list-style: none;
margin: 20px 0;
padding: 0;
text-transform: none;
}
ul#related-posts li{
float: left;
height: auto;
margin:0 5px;
padding: 2px 1px 2px;
list-style-type:none;
}
*html ul.rp#related-posts li{
margin:0 13px;
}
ul#related-posts li a {
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
border: 2px solid #FFFFFF;
display: block;
height: 72px;
position: relative;
width: 72px;
}
ul#related-posts li a {
color: #474C51;
text-decoration: none;
text-shadow: 0 1px 0 #FFFFFF;
}
ul#related-posts li .overlay {
height: 66px;
line-height: 16px;
padding:6px 0 0 6px;
position: absolute;
width: 66px;
z-index: 10;
}
ul#related-posts li .overlay {
}
ul#related-posts li a:hover .overlay {
background: #fff;
display: block !important;
opacity:0.9;
}
ul#related-posts li img {
bottom: 0;
padding:0px !important;
}
ul#related-posts li a:hover {
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

<!--end related posts css.Info : http://www.allhelpz.blogspot.com-->
6. Now search for this code line:
 <div class='post-footer'>

And after that line, paste this code:

<!--start related posts code Info : http://www.allhelpz.blogspot.com-->

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<h3>Related Posts:</h3>
<script type='text/javascript'>
var defaultnoimage=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZ2s1GFfPjdUP1TeeIuiW7yYr_kw0a8CfuyYeZurGZsv7DohugU_mBPHLeXME6RIHSPYRdOqp4R1A4bKf-4vkgbBt1DHvanxDu1YUfq1SkNaCr0Hdrl92yfJTsYQSLR1rGkLWKPgGiV_U/s1600/no-image.gif&quot;;
var maxresults=5;
</script>
<script src='http://suyb.googlecode.com/files/rph.js' type='text/javascript'/>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast != &quot;true&quot;'>
</b:if>
<script expr:src='&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels_thumbs&amp;max-results=6&quot;' type='text/javascript'/>
</b:loop>

<script type='text/javascript'>
removeRelatedDuplicates_thumbs();
printRelatedLabels_thumbs(&quot;<data:post.url/>&quot;);
</script>

</b:if>
<div style='clear:both'/>
<br/>
<!--end related posts code Info : http://www.allhelpz.blogspot.com-->
To change the number of similar/related posts to be displayed, change the code max-results=6
Now save your template.
*(Remember to add labels after your posts, during publishing them)

[Please comment for any Problem]

Saturday, August 04, 2012

Add 4 Column Footer to Blogger

See How to Add a 3 Column Footer to Blogger:

  1. Log in to Blogger if not already logged in
  2. Move any existing widgets out of the footer section and place them in the sidebar temporarily and save changes.
  3. Navigate to Template > Edit HTML
  4. Back up your template as a precaution by downloading it to your computer.
  5. Find the following section

    <div id='footer-wrapper'>
    <b:section class='footer' id='footer'/>
    </div>

    If you are having difficulty finding this section trying searching for footer-wrap or something similar as sometimes this section is called something else in some templates.
  6. To Add a 3 Column Footer to Blogger:
    Replace all the code located in Step 5 with the following

    <div id='footer-columns'>
    <div id='footer1' style='width: 25%; float: left; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col1' preferred='yes' style='float:left;'/>
    </div>
    <div id='footer2' style='width: 25%; float: left; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col2' preferred='yes' style='float:left;'/>
    </div>
    <div id='footer3' style='width: 25%; float: left; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col3' preferred='yes' style='float:left;'/>
    </div>
    <div id='footer4' style='width: 25%; float: right; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col4' preferred='yes' style='float:right;'/>
    </div>
    <div style='clear:both;'/>
    </div>

    To Add a 3 Column Footer with a Lower Footer Section:
    Replace all the code located in Step 5 with the following

    <div id='footer-columns'>
    <div id='footer1' style='width: 25%; float: left; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col1' preferred='yes' style='float:left;'/>
    </div>
    <div id='footer2' style='width: 25%; float: left; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col2' preferred='yes' style='float:left;'/>
    </div>
    <div id='footer3' style='width: 25%; float: left; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col3' preferred='yes' style='float:left;'/>
    </div>
    <div id='footer4' style='width: 25%; float: right; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col4' preferred='yes' style='float:right;'/>
    </div>
    <div style='clear:both;'/>
    <p/>
    <div id='footer-bottom' style='text-align: center; padding: 10px;'>
    <b:section class='footer' id='col-bottom' preferred='yes'>
    </b:section>
    </div>
    <div style='clear:both;'/>
    </div>
    That's all. Now try your self. Enjoy...

[Please Comment Here for any Help]

Add 3 Column Footer to Blogger

See How to Add a 3 Column Footer to Blogger:

  1. Log in to Blogger if not already logged in
  2. Move any existing widgets out of the footer section and place them in the sidebar temporarily and save changes.
  3. Navigate to Template > Edit HTML
  4. Back up your template as a precaution by downloading it to your computer.
  5. Find the following section

    <div id='footer-wrapper'>
    <b:section class='footer' id='footer'/>
    </div>

    If you are having difficulty finding this section trying searching for footer-wrap or something similar as sometimes this section is called something else in some templates.
  6. To Add a 3 Column Footer to Blogger:
    Replace all the code located in Step 5 with the following

    <div id='footer-columns'>
    <div id='footer1' style='width: 30%; float: left; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col1' preferred='yes' style='float:left;'/>
    </div>
    <div id='footer2' style='width: 40%; float: left; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col2' preferred='yes' style='float:left;'/>
    </div>
    <div id='footer3' style='width: 30%; float: right; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col3' preferred='yes' style='float:right;'/>
    </div>
    <div style='clear:both;'/>
    </div>

    To Add a 3 Column Footer with a Lower Footer Section:
    Replace all the code located in Step 5 with the following

    <div id='footer-columns'>
    <div id='footer1' style='width: 30%; float: left; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col1' preferred='yes' style='float:left;'/>
    </div>
    <div id='footer2' style='width: 40%; float: left; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col2' preferred='yes' style='float:left;'/>
    </div>
    <div id='footer3' style='width: 30%; float: right; margin:0; text-align: left;'>
    <b:section class='footer-column' id='col3' preferred='yes' style='float:right;'/>
    </div>
    <div style='clear:both;'/>
    <p/>
    <div id='footer-bottom' style='text-align: center; padding: 10px;'>
    <b:section class='footer' id='col-bottom' preferred='yes'>
    </b:section>
    </div>
    <div style='clear:both;'/>
    </div>

    Add 3 column footer to Blogger with a lower section 3 column footer

[Please Comment Here for any Help]

Featured post

WordPress yoast plugin remove date or article:published_time

Yoast is an essential plugin for WordPress SEO. It is one of the best SEO plugin for wordpress right now. But, after disabling date from ...