Best 2 Know

The Ultimate Blogging Resource

  • Advertising
  • WebHosting
  • Contact Us
  • Blogger
    • Blogger Templates
    • Blogger Tutorials
  • Browser
    • Firefox
    • Google Chrome
  • Google
  • Internet
    • Facebook
    • Twitter
  • Thesis
  • Windows
  • WordPress
    • WordPress Themes
    • WordPress Plugins
  • More
    • Linux
    • Review
    • Solutions
    • Announcements

Tag: Blog Beginner Series

How to Add Breadcrumb for blogger blog

All of us might have seen breadcrumbs on most wordpress blog.
So why not implement a breadcrumb for the blogger blogs.. For those who don’t know what a breadcrumb is,here is a little defenition from wikipedia.

Breadcrumbs or breadcrumb trail is a navigation aid used in user interfaces. It gives users a way to keep track of their location within programs or documents. The term comes from the trail of breadcrumbs left by Hansel and Gretel in the popular fairytale.

The trails like Home >> Label >> Post Name are the breadcrumbs.

So Now lets get Started :

  1. Login to your blogger dashboard
  2. Go to Layouts and then Edit HTML
  3. Then I would Sugguest you download the whole template first then Continue Editing.
  4. Then Tick the Expand widget Template.
  5. Now find for this Code :
    <b:include data='top' name='status-message'/>

    <b:include data='top' name='status-message'/>

  6. Now Replace it with the below code :

    <b:include data='top' name='status-message'/>
    <b:include data='posts' name='breadcrumb'/>

    <b:include data='top' name='status-message'/> <b:include data='posts' name='breadcrumb'/>

  7. Now Find :
    <b:includable id='main' var='top'>

    <b:includable id='main' var='top'>

  8. Now Replace the above code with below code :
    <b:includable id='breadcrumb' var='posts'>
    <b:if cond='data:blog.homepageUrl == data:blog.url'>
    <!-- No breadcrumb on home page -->
    <b:else/>
    <b:if cond='data:blog.pageType == "item"'>
    <!-- breadcrumb for the post page -->
    <p class='breadcrumbs'>
    <span class='post-labels'>
    <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>
    <b:else/>
    »Unlabelled
    </b:if>
    » <span><data:post.title/></span>
    </b:loop>
    </span>
    </p>
    <b:else/>
    <b:if cond='data:blog.pageType == "archive"'>
    <!-- breadcrumb for the label archive page and search pages.. -->
    <p class='breadcrumbs'>
    <span class='post-labels'>
    <a expr:href='data:blog.homepageUrl'>Home</a> » Archives for <data:blog.pageName/>
    </span>
    </p>
    <b:else/>
    <b:if cond='data:blog.pageType == "index"'>
    <p class='breadcrumbs'>
    <span class='post-labels'>
    <b:if cond='data:blog.pageName == ""'>
    <a expr:href='data:blog.homepageUrl'>Home</a> » All posts
    <b:else/>
    <a expr:href='data:blog.homepageUrl'>Home</a> » Posts filed under <data:blog.pageName/>
    </b:if>
    </span>
    </p>
    </b:if>
    </b:if>
    </b:if>
    </b:if>
    </b:includable>
    <b:includable id='main' var='top'>

    <b:includable id='breadcrumb' var='posts'> <b:if cond='data:blog.homepageUrl == data:blog.url'> <!-- No breadcrumb on home page --> <b:else/> <b:if cond='data:blog.pageType == "item"'> <!-- breadcrumb for the post page --> <p class='breadcrumbs'> <span class='post-labels'> <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> <b:else/> »Unlabelled </b:if> » <span><data:post.title/></span> </b:loop> </span> </p> <b:else/> <b:if cond='data:blog.pageType == "archive"'> <!-- breadcrumb for the label archive page and search pages.. --> <p class='breadcrumbs'> <span class='post-labels'> <a expr:href='data:blog.homepageUrl'>Home</a> » Archives for <data:blog.pageName/> </span> </p> <b:else/> <b:if cond='data:blog.pageType == "index"'> <p class='breadcrumbs'> <span class='post-labels'> <b:if cond='data:blog.pageName == ""'> <a expr:href='data:blog.homepageUrl'>Home</a> » All posts <b:else/> <a expr:href='data:blog.homepageUrl'>Home</a> » Posts filed under <data:blog.pageName/> </b:if> </span> </p> </b:if> </b:if> </b:if> </b:if> </b:includable> <b:includable id='main' var='top'>

  9. Now Find ]]></b:skin> and replace it with the below code :
    .breadcrumbs {
    padding:5px 5px 5px 0px;
    margin: 0px 0px 15px 0px;
    font-size:95%;
    line-height: 1.4em;
    border-bottom:3px double #e6e4e3;
    }
    ]]></b:skin>

    .breadcrumbs { padding:5px 5px 5px 0px; margin: 0px 0px 15px 0px; font-size:95%; line-height: 1.4em; border-bottom:3px double #e6e4e3; } ]]></b:skin>

Now you should have a working breadcrumb navigation on your system.

July 12, 2010 Ritesh Sanap Blogger Tutorials Blog Beginner Series, Blog Design Series, Blogger Hacks, fairytale, hansel and gretel, navigation aid, term comes from, Widget

How to host javascript on blogger

Hello to all my visitors, its been few days that i haven’t wrote anything on best2know.info, but today i have bought something for you all that will help you very very much to keep your blog healthy. Now you all might thing how ? . So here’s my today’s trick i will teach you how host JavaScript in blogger.

Why to host JavaScript in blogger?
Earlier their used to Google pages but now Google has closed them so we cannot use them. Plus the problem with Google pages was that it has a bandwidth limit. so when more visitors some functions of the site wont load then visitors are nervous and some time they don’t come back. So its bad for the blog. we cant also keep it on sites.google.com because it will set the scripts to download and not view.

Plus if you host it outside the server fails or take too much time too load again that causes problems so now we need to host JavaScript in blogger to save time bandwidth and too load fast.

So here’s the trick :

  1. Login to your dashboard.
  2. Click on Design and then on EDIT HTML.
  3. Then Find for </head> and just above this add the below code :

    <script type=’text/javascript’>

    //<![CDATA[

    PASTE THE JAVASCRIPT CODE HERE

    //]]>

    </script>

  4. Now just Replace the PASTE THE JAVASCRIPT CODE HERE with your javascript.
  5. Click on Preview i think now you can see no problem in Javascript and then click on Save.

Too add more then one JavaScript repeat the process.

Benefits of this trick:
» No file size limitations
» No bandwidth limitations
» Super fast page loading (because files are stored in blogger itself)

June 21, 2010 Ritesh Sanap Uncategorized Blog Beginner Series, Blogger Hacks

Add Social Bookmarking Icons After Every Post In Blogger Blog

Hi Friends

I Am Coming This Time With New Set of social bookmarking icons set for blogger blog.many of our readers have problem to add social bookmarking icons after every post in blogger so i am giving this hack to add social bookmarking icons after every post in blogger blog.we have also covered

And I am Requesting You To Help to Share our post on social bookmarking site

Now Come on step to add this icon pack  to your blog.

Step:-1
Goto Blogger Template>Edit HTML back up your template and expand the widget templates.

Step:-2
Now in your template find  

</head>
and just above that paste the following code 
<script src=’http://blogger-plugins.googlecode.com/files/bkmrk_hover.js’></script>
<style type=’text/css’> .bookmark img { border: 0; padding:0px; } .bookmark a:hover { position: relative; top: 1px; left: 1px; } </style>  



Step:-3
Now Find
<p class=’post-footer-line post-footer-line-3′>
 Or  If That Is Not There Then Find
<div class=’post-footer-line post-footer-line-3′>

And Replace with
!– Social Bookmarking Icons Start  www.best2know.info–>
<span class=’bookmark’><table align=’left’ border=’0′ cellpadding=’0′ width=’100%’><tr><td style=’vertical-align:middle’ valign=’middle’ width=’30%’><div expr:id=’&quot;sbtxt&quot;+data:post.id’>Bookmark this post:<span style=’display:none’><a href=’http://www.bloggerplugins.org’>blogger tutorials</a> <a href=’http://www.bloggerplugins.org/2007/09/social-bookmarking-elements-after-each.html’>Social Bookmarking   Blogger Widget</a></span></div><script type=’text/javascript’>showsbtext(&quot;sbtxt&quot; + &quot;<data:post.id/>&quot;,0)</script></td><td><a expr:href=’&quot;http://www.stumbleupon.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title’ expr:onmouseout=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,0);&quot;’ expr:onmouseover=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,19);&quot;’ rel=’nofollow’ target=’_blank’><img alt=’StumpleUpon’ src=’http://lh4.ggpht.com/_u4gySN2ZgqE/SnVFoJLmchI/AAAAAAAAAjg/-2mcU8UjohA/icon_sb_stumb.gif%5B4%5D.png?imgmax=800’/></a> <a expr:href=’&quot;http://digg.com/submit?phase=3&amp;url=&quot; + data:post.url’ expr:onmouseout=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,0);&quot;’ expr:onmouseover=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,1);&quot;’ rel=’nofollow’ target=’_blank’><img alt=’DiggIt!’ src=’http://lh5.ggpht.com/_u4gySN2ZgqE/SnVFiI7X5sI/AAAAAAAAAjE/uoviRb4H0V8/icon_sb_dig%5B4%5D.gif?imgmax=800’/></a> <a expr:href=’&quot;http://del.icio.us/post?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title’ expr:onmouseout=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,0);&quot;’ expr:onmouseover=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,2);&quot;’ rel=’nofollow’ target=’_blank’><img alt=’Del.icio.us’ src=’http://lh4.ggpht.com/_u4gySN2ZgqE/SnVFhIJeylI/AAAAAAAAAjA/efK7u8suKvs/icon_sb_del%5B4%5D.gif?imgmax=800’/></a> <a expr:href=’&quot;http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Description=&amp;Url=&quot; + data:post.url + &quot;&amp;Title=&quot; + data:post.title’ expr:onmouseout=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,0);&quot;’ expr:onmouseover=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,3);&quot;’ rel=’nofollow’ target=’_blank’><img alt=’Blinklist’ src=’http://lh5.ggpht.com/_u4gySN2ZgqE/SnVFgIXzFNI/AAAAAAAAAi8/Vgqkftp6mvk/icon_sb_bli%5B4%5D.gif?imgmax=800’/></a> <a expr:href=’&quot;http://myweb2.search.yahoo.com/myresults/bookmarklet?u=&quot; + data:post.url + &quot;&amp;=&quot; + data:post.title’ expr:onmouseout=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,0);&quot;’ expr:onmouseover=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,4);&quot;’ rel=’nofollow’ target=’_blank’><img alt=’Yahoo’ src=’http://lh3.ggpht.com/_u4gySN2ZgqE/SnVFqxs6oCI/AAAAAAAAAjs/s3Gqfd7n0KQ/icon_sb_yah%5B4%5D.gif?imgmax=800’/></a> <a expr:href=’&quot;http://www.furl.net/storeIt.jsp?u=&quot; + data:post.url + &quot;&amp;t=&quot; + data:post.title’ expr:onmouseout=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,0);&quot;’ expr:onmouseover=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,8);&quot;’ rel=’nofollow’ target=’_blank’><img alt=’Furl’ src=’http://lh6.ggpht.com/_u4gySN2ZgqE/SnVFiyVxsBI/AAAAAAAAAjI/Zwu2964qKmg/icon_sb_fur%5B4%5D.gif?imgmax=800’/></a> <a expr:href=’&quot;http://www.technorati.com/cosmos/search.html?url=&quot; + data:post.url’ expr:onmouseout=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,0);&quot;’ expr:onmouseover=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,9);&quot;’ rel=’nofollow’ target=’_blank’><img alt=’Technorati’ src=’http://lh3.ggpht.com/_u4gySN2ZgqE/SnVFpG5R_SI/AAAAAAAAAjk/-cFqb1ngIIA/icon_sb_tec%5B4%5D.gif?imgmax=800’/></a> <a expr:href=’&quot;http://www.simpy.com/simpy/LinkAdd.do?href=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title’ expr:onmouseout=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,0);&quot;’ expr:onmouseover=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,10);&quot;’ rel=’nofollow’ target=’_blank’><img alt=’Simpy’ src=’http://lh6.ggpht.com/_u4gySN2ZgqE/SnVFmiSmYfI/AAAAAAAAAjY/oy9Mov0ttUA/icon_sb_sim%5B4%5D.gif?imgmax=800’/></a> <a expr:href=’&quot;http://www.spurl.net/spurl.php?url=&quot; + data:post.url + &quot;&amp;title=&quot; +  data:post.title’ expr:onmouseout=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,0);&quot;’ expr:onmouseover=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,11);&quot;’ rel=’nofollow’ target=’_blank’><img alt=’Spurl’ src=’http://lh6.ggpht.com/_u4gySN2ZgqE/SnVFnSDDHYI/AAAAAAAAAjc/rreFKKk8y84/icon_sb_spu%5B4%5D.gif?imgmax=800’/></a> <a expr:href=’&quot;http://reddit.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title’ expr:onmouseout=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,0);&quot;’ expr:onmouseover=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,17);&quot;’ rel=’nofollow’ target=’_blank’><img alt=’Reddit’ src=’http://lh4.ggpht.com/_u4gySN2ZgqE/SnVFlgfMydI/AAAAAAAAAjU/s6JQW7sjXGQ/icon_sb_red%5B4%5D.gif?imgmax=800’/></a> <a expr:href=’&quot;http://www.google.com/bookmarks/mark?op=add&amp;bkmk=&quot; + data:post.url +  &quot;&amp;title=&quot;+data:post.title’ expr:onmouseout=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,0);&quot;’ expr:onmouseover=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,20);&quot;’ rel=’nofollow’ target=’_blank’><img alt=’Google’ src=’http://lh4.ggpht.com/_u4gySN2ZgqE/SnVFj9KzF0I/AAAAAAAAAjM/JuLU-525wD8/icon_sb_goo%5B4%5D.gif?imgmax=800’/></a>
<script charset=’utf-8′ src=’http://bit.ly/javascript-api.js?version=latest&amp;login=tweettrackjs&amp;apiKey=R_7e9987b2fd13d7e4e881f9cbb168f523′ type=’text/javascript’/>
 <a expr:href=’&quot;http://api.tweetmeme.com/share?url=&quot;+data:post.url’  expr:onmouseout=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,0);&quot;’ expr:onmouseover=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,21);&quot;’ rel=’nofollow’ target=’_blank’><img alt=’Twitter’ src=’http://lh5.ggpht.com/_u4gySN2ZgqE/SnVFp0q8DWI/AAAAAAAAAjo/ZajyLZ5HqSY/icon_sb_twitter%5B4%5D.png?imgmax=800’/></a> <a expr:href=’&quot;http://www.facebook.com/sharer.php?u=&quot; + data:post.url’ expr:onmouseout=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,0);&quot;’ expr:onmouseover=’&quot;javascript:showsbtext(\&quot;sbtxt&quot; + data:post.id + &quot;\&quot;,22);&quot;’ rel=’nofollow’ target=’_blank’><img alt=’FaceBook’ src=’http://3.bp.blogspot.com/_u4gySN2ZgqE/Snq8BsUw8pI/AAAAAAAAAnM/T1ggoBrv6tk/s400/fbicon.png’/></a>
</td>
</tr>
</table><br/>
</span>
<!– Social Bookmarking Icons End  www.best2know.info–>
Then You Are Done!!!!!



April 29, 2010 Ritesh Sanap Uncategorized Blog Beginner Series, Blogger Hacks, Social Bookmarking

Currently Trending

  • How to download Specific parts of YouTube videos
  • How to Change the Welcome/Login Screen in Windows XP ?
  • h4x0r ( Hacker ) - Blogger Template
  • Windows Vista CD key
  • Add/Remove page/Post View Counter Widget For Blogger
  • Free Online Angry Birds game
  • How to Make Your Own Avatar
  • How to Download Documentation for offline viewing - Dash
  • How To Change Windows XP Shutdown Dialog Box

Get Latest post in your Inbox

Random Posts

How to find best Web Hosting – WebHostGear

March 15, 2011 By Ritesh Sanap Leave a Comment

[How-To]Using Google For Finding Ebook’s

December 28, 2007 By Ritesh Sanap Leave a Comment

Basic PC shortcut keys

April 30, 2009 By Ritesh Sanap Leave a Comment

Buddha Flower – Blogger Template

July 18, 2010 By Ritesh Sanap 3 Comments

Google chrome Final :Evolving from beta to stable

May 25, 2010 By Ritesh Sanap Leave a Comment

WordPress

HTTP2 Server Push for W3 Total Cache Minify plugin

August 17, 2016 By Ritesh Sanap 5 Comments

How to Disable Emojis in WordPress

January 6, 2016 By Ritesh Sanap Leave a Comment

JetPack Related posts and Sharing not working with NGINX

November 10, 2015 By Ritesh Sanap Leave a Comment

Simply Pure – WordPress Theme

November 2, 2014 By Ritesh Sanap 2 Comments

Advanced What should we Write about next? – WordPress Plugin

July 28, 2014 By Ritesh Sanap Leave a Comment

How to Disable Self Pingback or TrackBack

January 16, 2014 By Ritesh Sanap Leave a Comment

BlueStrap – WordPress Theme

January 1, 2014 By Ritesh Sanap 15 Comments

How to Create Multiple Excerpts in WordPress

December 24, 2013 By Ritesh Sanap Leave a Comment

How to Disable Auto Update in WordPress

November 21, 2013 By Ritesh Sanap Leave a Comment

How to Delete Feedbacks from JetPack Contact Form

November 19, 2013 By Ritesh Sanap 9 Comments

Recent Posts

  • HTTP2 Server Push for W3 Total Cache Minify plugin
  • How to show hidden files and folders in Mac OS X
  • How to Disable Emojis in WordPress
  • Canva – Online Photo Editor
  • JetPack Related posts and Sharing not working with NGINX

Archives

Recommends

  • DigitalOcean – Cloud Hosting
  • Dropbox – Cloud Storage
  • Elegant Themes – WordPress Themes
  • LastPass – Password Manager
  • Like us on Facebook
  • Follow on Twitter
  • +1 on Google
  • Subscribe via Email
  • RSS Feed

© 2023 Best 2 Know · All Rights Reserved · We ♥ DigitalOcean