Showing posts with label Post. Show all posts
Showing posts with label Post. Show all posts
Wednesday, August 24, 2011

Cool Thumbnail View With Related Post For blogger

0 comments
Earlier  i post about recent post with thumbnail.
but this post have some different.  hope you will like it




1. Log in to your blogger account and Go to Design >> Edit HTML

2. Make sure you put check mark to “Expand Widget Templates”

3. Find this tag by using Ctrl+F    ]]></b:skin>

4. Paste  below code After  ]]></b:skin> tag

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<style type='text/css'>
#related-posts {
clear:both;float:left;
height:100%;
min-height:100%;
width:100%;
margin:0px;
padding-top:5px;
}

#related-posts h2{
background:transparent url() repeat-x left bottom;
font-family:verdana,Georgia,serif;
color:#000000;
font-size:18px;
line-height:28px;
text-decoration:none;
font-weight:normal;
text-align:left;
border:none;
padding: 10px 0px 5px 0px;
margin-top:15px;
margin-bottom:15px
}

#related-posts a{
background:#d5d5d5;
border:1px solid #000;
text-align:center;
margin-right:1px;
color:#000000;
text-decoration:none;
padding-left:2px
}

#related-posts a:hover{
background:#4f4f4f;
color:#eeeeee;
text-decoration:underline
}

</style>
<script type='text/javascript'>
var defaultnoimage=&quot;&quot;;
var maxresults=5;
var splittercolor=&quot;#000&quot;;
var relatedpoststitle=&quot;Related Posts: &quot;;
</script>
<script src='http://goomelar.googlecode.com/files/related_post-thumbnail.txt' type='text/javascript'/>
</b:if>
<!--Related Posts with thumbnails End-->

5. Now Find this tag also by using Ctrl+F
                              <div class='post-footer-line post-footer-line-1'>
                                  If cant find above tag try to find below tag
                                <p class='post-footer-line post-footer-line-1'>

6. After found one of above code, paste below code after it

<!-- Related Posts  Start-->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='related-posts'>
<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>
</div><div style='clear:both'/>
</b:if>
<!-- Related Posts End-->

7. You are done. Cheers
Continue reading →
Monday, July 4, 2011

How To Add Blockquote For Blogger

0 comments
How To Add Blockquote For Blogger



1. Log in to blogger account and Go to Design > Edit HTML

2. Find this tag by using Ctrl+F    ]]></b:skin>

3. Paste below code after ]]></b:skin> tag

blockquote { background:#c5c5c5 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj56kKePx4rf2tathYWV8u6xggSOoG40Dn6qbeQNSWn7rOfft5SDnSlCDwCbzkkkdoohFBJwpsGvMNsr3q7t7fUaMTusHVjzohXcD_mYXTURW2gF9jZ3-XyNy_bk6atV4AzZZln8wCNabk-/s320/blockquote.png) no-repeat top left;
padding:10px 20px 10px 45px;
font-style:italic;
border:1px solid #000000;}

4. Now save your template

5. when you want to  use blockquote Write your text like below

<blockquote>
Your Text here...
</blockquote>
 Between  blockquote tag
Replace Your Text here with any  words,

6. You can use it when you making post.
Now you are done.
Continue reading →
Sunday, June 19, 2011

How To Change Blog Links color and font style

0 comments
How To Change Blog Post Links color and font style



Using this codes ,you can change your every blog  links fonts size color automatically (including with post title).If you are changing it manually, make it as you want, so no need to do it manually every time when you making post. so i think this will helpful to you.


1. Log in to your blogger account and Go to Design >> Edit HTML

2. Find this tag by using Ctrl+F   ]]></b:skin>

3. Paste below code before ]]></b:skin> tag

.post a{font-weight:bold;font-size:12px;color:#000000;text-decoration:none}
.post a:hover{text-decoration:underline}

4. You can change fonts size as your like (changing12)
    If you want to change color, 000000 replace with your color code.

     Get your color code here

5. After save your template. you are done.
Continue reading →
Thursday, April 21, 2011

How to make Bubble Effect for blogger image/icons

0 comments
How to make Bubble Effect for blogger

See below Images for Demo



1. Log in to your blogger account and Go to Design >> Edit HTML

2. Put checked marked in Expand Widget Templates

3. Find this tag by using Ctrl+F 


4. Paste below code before ]]></b:skin> tag


/*URL: http:www.bloggertrix.com */
.bubblewrap{

list-style-type:none;

margin:0;

padding:0;

}



.bubblewrap li{

display:inline;

width: 65px;

height:60px;

}



.bubblewrap li img{

width: 55px;

height: 60px;

border:0;

margin-right: 12px;

-webkit-transition:-webkit-transform 0.1s ease-in;

-o-transition:-o-transform 0.1s ease-in;

}



.bubblewrap li img:hover{

-moz-transform:scale(1.8);

-webkit-transform:scale(1.8);

-o-transform:scale(1.8);

}

5.Now paste this HTML code where you want to add your images.

/*URL: http:www.bloggertrix.com */<ul class="bubblewrap">

<li><a href="http://www.bloggertrix.com/"><img src="http://icons.iconarchive.com/icons/artbees/social-networks-pro/64/StumbleUpon-icon.png" /></a></li>
<li><a href="http://www.bloggertrix.com/"><img src="http://icons.iconarchive.com/icons/artbees/social-networks-pro/64/Facebook-icon.png" title="Add to Facebook" /></a></li>
<li><a href="http://www.bloggertrix.com/"><img src="http://icons.iconarchive.com/icons/artbees/social-networks-pro/64/Digg-icon.png" title="Add to Digg" /></a></li>
<li><a href="http://www.bloggertrix.com/"><img src="http://icons.iconarchive.com/icons/artbees/social-networks-pro/64/Twitter-icon.png" title="Add to Twitter" /></a></li>
</ul>

6. If you want Change above Red color URL with Your Icon URL

7.Now you can add this to your page.thanks.
Continue reading →
Sunday, April 17, 2011

How to add Image Zoom Hover Effect to blogger

0 comments
 How to add Image Zoom Hover Effect to blogger





1. Log in to your blogger account and Go to Design >> Edit HTML

2. Put checked marked in Expand Widget Templates

3. Find this tag by using Ctrl+F 


4. Paste below code before ]]></b:skin> tag


/*URL: http:www.bloggertrix.com */
.hovergallery img{
-webkit-transform:scale(0.8);
-moz-transform:scale(0.8);
-o-transform:scale(0.8);
-webkit-transition-duration: 0.5s;
-moz-transition-duration: 0.5s;
-o-transition-duration: 0.5s;
opacity: 0.7;
margin: 0 10px 5px 0;
}

.hovergallery img:hover{
-webkit-transform:scale(1.1);
-moz-transform:scale(1.1);
-o-transform:scale(1.1);
opacity: 1;
}

Now you can add this zoom hover for your image. ill give a example to do this

5. Click on "Posting" >> "New Post" and  go to edit HTML


<a class="hovergallery" href="http://www.bloggertrix.com" target="_blank">
<img src=" http://1.bp.blogspot.com/_XoMK3ToWnac/TOnzgjW6lgI
/AAAAAAAAAOg/ZjqasXcFpxo/s1600/blogger.jpg" /></a>
    


*Replace  http://www.bloggertrix.com  with your link
*Replace  http://1.bp.blogspot.com/_XoMK3ToWnac/TOnzgjW6lgI
/AAAAAAAAAOg/ZjqasXcFpxo/s1600/blogger.jpg with image URL

6. Now you can click publish post and enjoy with Zoom image hover
Continue reading →
Friday, April 15, 2011

How to highlight code to any script, text in the post

0 comments
How to highlight code to any script, text in the post


1. Log in to blogger account and Go to Design > Edit HTML

2. Put checked marked in Expand Widget Templates

3. Find this tag by using Ctrl+F 


4. Paste below code before ]]></b:skin> tag

.alert { background: #DDE4FF;

text-align: left;

padding: 5px 5px 5px 5px;

border-top: 1px dotted #223344;border-bottom: 1px dotted
#223344;border-left: 1px dotted #223344;border-right: 1px dotted
#223344;}
/* www.bloggertrix.com */

5. Click on "Posting" >> "New Post" and  go to edit HTML and paste this tag
   <div class="alert">  beginning of the text you want to highlight 

6. After you can type code or script or text.  after it you have to
     paste </div>  for closing div tag (don't forget to do it. it won,t work)

7. After you can save and check it. good luck, its easy.
    Note: you can change #DDE4FF with any color code.

Continue reading →
Tuesday, March 22, 2011

How to add animated recent post widget

0 comments
How to add animated recent post widget
1. Log in to blogger and Go to  Design >> Page Element.

2. Click Add Gadget and select 'HTML/Javascript'

3.Paste below code.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>     
<style type="text/css" media="screen">
<!--
#spylist {
overflow:hidden;
margin-top:5px;
padding:0px 0px;
height:350px;
}
#spylist ul{
width:220px;
overflow:hidden;
list-style-type: none;
padding: 0px 0px;
margin:0px 0px;
}
#spylist li {
width:208px;
padding: 5px 5px;
margin:0px 0px 5px 0px;
list-style-type:none;
float:none;
height:70px;
overflow: hidden;
background:#fff url(http://dl.getdropbox.com/u/708209/scriptabufarhan/recentspy/post.jpg) repeat-x;
border:1px solid #ddd;
} #spylist li a {
text-decoration:none;
color:#4B545B;
font-size:11px;
height:18px;
overflow:hidden;
margin:0px 0px;
padding:0px 0px 2px 0px;
}

#spylist li img {
float:left;
margin-right:5px;
background:#EFEFEF;
border:0;
}
.spydate{
overflow:hidden;
font-size:10px;
color:#0284C2;
padding:2px 0px;
margin:1px 0px 0px 0px;
height:15px;
font-family:Tahoma,Arial,verdana, sans-serif;
}

.spycomment{
overflow:hidden;
font-family:Tahoma,Arial,verdana, sans-serif;
font-size:10px;
color:#262B2F;
padding:0px 0px;
margin:0px 0px;
}
-->
</style>
 <script language='JavaScript'>


imgr = new Array();

imgr[0] = "http://i43.tinypic.com/orpg0m.jpg";

imgr[1] = "http://i43.tinypic.com/orpg0m.jpg";

imgr[2] = "http://i43.tinypic.com/orpg0m.jpg";

imgr[3] = "http://i43.tinypic.com/orpg0m.jpg";

imgr[4] = "http://i43.tinypic.com/orpg0m.jpg";
showRandomImg = true;

boxwidth = 255;

cellspacing = 6;

borderColor = "#232c35";

bgTD = "#000000";

thumbwidth = 70;

thumbheight = 70;

fntsize = 12;

acolor = "#666";

aBold = true;

icon = " ";

text = "comments";

showPostDate = true;

summaryPost = 40;

summaryFontsize = 10;

summaryColor = "#666";

icon2 = " ";

numposts = 10;

home_page = "http://www.bloggertrix.com/";

limitspy=4
intervalspy=4000

</script>

<div id="spylist">
<script src='http://dl.getdropbox.com/u/708209/scriptabufarhan/recentspy/recentpostthumbspy-min.js' type='text/javascript'></script>
</div>

* Replace http://www.bloggertrix.com/ with your site URL

4. Click save you are done.

Source
Continue reading →
Saturday, March 19, 2011

Random Post Widget to Blogger

0 comments
After install the Random Post Widget you can change the
link text.The default name is View Random Post.if you
want to change it.go to "Edit HTML" andsearch
"View Random Post"and change it as
your like.

Click here to install it.

After you can follow its step.
Continue reading →

Recent Post Widget for Blogger

0 comments
After put Recent Post Widget reader can know your what
are the recent post.In this widget you can make more
customize,thumbnail number of comment,Display Post 
Date etc.Try this widget.its also easy. Just want to install.

Features of the widget

  1. Choose which blog posts to display (choose URL).
  2. Display Post Summaries
  3. Display Post Date
  4. The Recent Post Titles
  5. Display Post Thumbnails
  6. Display Number of Comments on each post
  7. Display Read More Link
  8. Number of Posts do Display
Click here to install.

Enjoy it. 
Continue reading →

Add Avatar to costom Blogger Template

0 comments

1. Go to your blogger and click "Design" on your dashboard and click "Edit HTML"

2. Make sure "Expand Widget Templates" checked.

3. Find these tag  by using Ctrl+F    
                                 
                                  <dl id='comments-block'>
                                                   or
                                  <div id='comments-block'>


4. Because some Templates this code will start from <div.

5. Replace above code with this code.

 For  dl code     <dl expr:class='data:post.avatarIndentClass' id='comments-block'>

 For div code   <div expr:class='data:post.avatarIndentClass' id='comments-block'>

6.Now find this code.
                           <a expr:name='data:comment.anchorName'/>

7. Just paste  below code before above code.

<b:if cond='data:comment.favicon'>
<img expr:src='data:comment.favicon' height='35px' width='35px' style='margin-bottom:-2px;' />
</b:if>
<a expr:name='data:comment.anchorName'/>
<b:if cond='data:blog.enabledCommentProfileImages'>
<data:comment.authorAvatarImage/>

</b:if> <a expr:name='data:comment.anchorName'/>

8. Now you are done.click preview and save template.
Continue reading →
Thursday, March 17, 2011

How to add share this social bookmark to blogger

0 comments
How to add share this social bookmark to blogger
1. Log in to your blogger account and Go to  Design >> Edit HTML

2. Make sure put check mark on "Expand Widget Templates"

3. Find this tag by using Ctrl+F    <data:post.body/>

4. Paste below code after the <data:post.body/> tag

<b>Share this post :</b><br/>
<div class='spacer' style='border-top:solid 0px #DEDEDE;'/>
<table bgcolor='#ffffff' border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td valign='top' width='50%'><table border='0' cellpadding='0' cellspacing='0' width='222'>
<tr>
<td height='24' width='24'><img border='0' height='16' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoU5s5y72Qy9vi4u3Z3KcaHaqmrsca9a1d-IekWmHM_XclnlFCAv1C6yuYaHh_CZY64XzWF9rnXGG5kYfo7nE2xBvzsNRH9C-Od-lIr5iQKUyG_CDTH7MVUwdkAMLkV_v4AKryhAzc4nM/' width='16'/></td>
<td height='24'><a expr:href='&quot;http://www.facebook.com/sharer.php?&amp;u=&quot; + data:post.url' target='_blank'>Share on Facebook</a>
</td>
</tr>
<tr>
<td height='24'><img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCwp1CQitEZNFyYbReuQNIWV5ncZzMMQHFw7mHSmHIC8JGW559ZjTxjQw1uUnyZSqYBDswbl_fqYdaxKxpWYwmbNvWc3nhhoUuPQYNJebd0AZ7yJlHU6T6xPj6IwsGTgKfB3jlyD91Tpk/'/></td>
<td height='24'><a expr:href='&quot;http://twitthis.com/twit?url=&quot; + data:post.url' rel='external nofollow' target='_blank'>Share on Twitter</a>
</td>
</tr>
<tr>
<td height='24'><img border='0' height='16' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV6WgqsIVcO0L4V6MH1_EYwDA2ziJgSUttiLmATI1dYy8ksgsOgSMUFVgZaOrLdj8vofm3zCiJEVSaLhOt0NCjiJ6a7raxb0rja3ypCJChD9Z-qAZ5J7WfBJKcDtH_l438UyraXZJ1WE4/' width='16'/></td>
<td height='24'><a expr:href='&quot;http://www.stumbleupon.com/submit?&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank'>Share on StumbleUpon</a></td>
</tr>
<tr>
<td height='24'><img border='0' height='16' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLuTqYL0icgdJjGtn8gn1qFydS9zGQB1rfiuhJIkEBIDBrUO1YS_n4le4qavFtt1YcVZFJHUxtP2ozAWr9KIZMkGbPTab30a5-FpH3J4Qhdsez-UtvnnSOahVJk59VVn4goMqhD7B-7yI/' width='16'/></td>
<td height='24'><a expr:href='&quot;http://del.icio.us/post?v=4&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank'>Share on Delicious</a></td>
</tr>
<tr>
<td height='24'><img border='0' height='16' src=' https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQyEjMhzf3uXSDC31pduJt_28GOv808n_m1LzyPAw0BLviGJR0fgcFy1p0VLxUvj9_kNXsXbDSByaNoQZQ37T-DfPhqJwY05MFbfNxhBhmWWyXUH-hWBpyaLVM-ZzMEdMgPMN4xIIh9xU/' width='16'/></td>
<td height='24'><a expr:href='&quot;http://reddit.com/submit?&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank'>Share on Reddit</a>
</td>
</tr>
</table></td>
<td valign='top' width='50%'><table border='0' cellpadding='0' cellspacing='0' width='222'>
<tr>
<td height='24' width='24'><img border='0' height='16' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8eKRG3WVLqH6shYpL7IdLCNX-oXhPbHBhoBVInEzAMdym8mXq8LkBoRNB2NTR0iJKayOhpXTvyKFFjKMdNPGbiVeRq7r50aG-8cXIdgxDc9oH7Xdyj2Si58qbXV-ttYdwl-NQAxD-SOI/' width='16'/></td>
<td height='24'><a expr:href='&quot;http://digg.com/submit?phase=2&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank'>Share on Digg</a></td>
</tr>
<tr>
<td height='24'><img border='0' height='16' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmvzupy33hKwfk82t3_ihe6NDIBmhKJHeXiF23loe1aFrNt83MjfC6bVbrPhSjJ-veDZjCkYC07IzQ1PzcLSqRIvjHhez62JAazlikM5vSas7Zq-YRf0SrsVA95ZidlmFhTpODXfTONNA/' width='16'/></td>
<td height='24'><a expr:href='&quot;http://www.simpy.com/simpy/LinkAdd.do?href=&quot; + data:post.url' rel='nofollow' target='_blank'>Share on simpy</a></td>
</tr>
<tr>
<td height='24'><img border='0' height='16' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCy9V0C1-bMPzBRjJhtNb7DDqZ9DbaAUUUfSQ1R9_svl6axbcpVGFlO9ihQs-ns-e-K0OQUeElz8OKaYqKaLhth1ehWnzzEZIenKmZsMEq6Ba1MbkGoAe5to_1OJqB8SQM4TbtdLbQmfA/' width='16'/></td>
<td height='24'><a expr:href='&quot;http://technorati.com/signup/?f=favorites&amp;Url=&quot; + data:post.url' rel='nofollow' target='_blank'>Share on Technorati</a></td>
</tr>
<tr>
<td height='24'><img alt='furl' border='0' height='16' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCMQa5P3oSuKZe2PrM59fo9NDS1uEiQGiIcvk72uYHoovNtZC7_unF8pojH874zsCsRhpspVedfMOZy6FUQXfDX_FcwJ4G-PJhEH0oqcC-qopNm-N7j255kr3WBR2klni4AiTMFll1CAY/' width='16'/></td>
<td height='24'><a expr:href='&quot;http://www.furl.net/storeIt.jsp?&amp;u=&quot; + data:post.url' rel='nofollow' target='_blank'>Share on furl</a>
</td>
</tr>
<tr>
<td height='24'><img alt='Feeds RSS' border='0' height='16' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb9KTdvB30CU_SWYrnnH_QPHs1VizIaUze_PI0h7BmeCt6DiZ45-LEsi5L5pbUrH-oUIUhIMSpORoAuJTyjP86vcptMjPpKwMMCcMIYZR98SY12rfE3dCQ9D8HVJJJpihC0Wfcgoa-rsY/' width='16'/></td>
<td height='24'><a href='http://feeds2.feedburner.com/bloggertricksandtoolz' target='_blank'>Subscribe to Feeds RSS</a>
</td>
</tr>
</table></td>
</tr>
</table>

5. Now click preview and save the template.you are done.
Continue reading →
Monday, March 14, 2011

How to make text walking on menu bar

0 comments
How to make text walking on menu bar
1. Log it to your blogger and go to Design >> Edit HTML

2.Make sure you put check mark to “Expand Widget Templates”

3.Find this tag by using Ctrl+F </ head>


4. Paste below code before  </ head> tag

<script type='text/javascript'>
//<![CDATA[

msg = " -- Simple Preview ";
msg = " | Blog name -- " + msg;pos = 0;
function scrollMSG() {
document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); pos++;
if (pos > msg.length) pos = 0
window.setTimeout("scrollMSG()",200);
}
scrollMSG();
//]]>
</script>

* Replace  Simple Preview with some your message.
* Replace Blog name with your blog name

5. Now save template you are done.
Continue reading →
Sunday, March 13, 2011

How to add image before blog post title

0 comments
How to add image before blog post title


1. Log in to blogger and Go to Design >> Edit HTML

2.Click on "Expand Widget Templates"  checked

3.  Scroll down and to this code

<b:if cond='data:post.url'>
<a expr:href='data:post.url'> <data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
 
4. now paste this code between  <a expr:href='data:post.url'> and <data:post.title/>.


<img src="YOUR-IMAGE-URL" style="border-width: 0px;" />

*Replace with  YOUR-IMAGE-URL Use correct image URL

5. Now save your template you are done.
Continue reading →

How to add related post with thumbnail to blogger

0 comments
How to add related post with thumbnail to blogger
1. Log it to your blogger and go to Design >> Edit HTML

2. First,download the present template as a backup.

3.Make sure you put check mark to “Expand Widget Templates”

4.Find this tag by using Ctrl+F </ head>


5. Paste below code before  </ head> tag

<!--Related Posts with thumbnails Start-->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<style type='text/css'>
#related-posts {
float:center;
height:100%;
min-height:100%;
padding-top:10px;
padding-left:15px;
padding-right:15px;
}

#related-posts h2{
font-size: 1.3em;
color: black;
font-family: Arial;
margin-bottom: 0.75em;
}

#related-posts a{
color:black;
}

#related-posts a:hover {
background-color:#eeeeee;
}
</style>
<script type='text/javascript'>
var defaultnoimage="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH9nDb0g4IhXC36nyeWbPFSEFz6brJmsxzoZNOSIbfqtUh8r5tbjfFpcSNvaYFqmf1wAyl_QS9GSxeyhy6-3NCYqlbX_WuPAwjzz3vXWEzE5kPgPWGTWUF0Vr837r1PAjkvKJcibcGLJwl/";
var maxresults=5;
var splittercolor="#cccccc";
var relatedpoststitle="Related post";
</script>

</b:if>
<!--Related Posts with thumbnails End-->

6. Search this code again <p class='post-footer-line post-footer-line-1'/> Or post-footer-line

7. Paste below code after one of above code

<!-- Related Posts with Thumbnails Code Start-->
<!-- remove --><b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='related-posts'>
<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>
</div><div style='clear:both'/>
<!-- remove --></b:if>
<!-- Related Posts with Thumbnails Code End-->

8.  Now Save template .you are done.

* Replace  with Related post as your like
* Replace  with 5 for changing post amount on related post
Continue reading →
Saturday, March 12, 2011

How to add related post widget for blogger

0 comments

How to add related post  for blogger
1. Log it to your blogger and go to Design >> Edit HTML

2. First,download the present template as a backup.

3.Make sure you put check mark to “Expand Widget Templates”

4.Find this tag by using Ctrl+F  <data:post.body/>

5. Paste below code after <data:post.body/> tag

<!--related post started-->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div class='similiar'>
<div class='widget-content'>
<h2>Related post</h2>
<div id='data2007'/><br/><br/>
<script type='text/javascript'>
var homeUrl3 = &quot;<data:blog.homepageUrl/>&quot;;

var maxNumberOfPostsPerLabel = 5;
var maxNumberOfLabels = 3;
maxNumberOfPostsPerLabel = 5;
maxNumberOfLabels = 3;

function listEntries10(json) {
var ul = document.createElement(&#39;ul&#39;);
var maxPosts = (json.feed.entry.length &lt;= maxNumberOfPostsPerLabel) ?
json.feed.entry.length : maxNumberOfPostsPerLabel;
for (var i = 0; i &lt; maxPosts; i++) {
var entry = json.feed.entry[i];
var alturl;
for (var k = 0; k &lt; entry.link.length; k++) {
if (entry.link[k].rel == &#39;alternate&#39;) {
alturl = entry.link[k].href;
break;
}
}
var li = document.createElement(&#39;li&#39;);
var a = document.createElement(&#39;a&#39;);
a.href = alturl;
if(a.href!=location.href) {
var txt = document.createTextNode(entry.title.$t);
a.appendChild(txt);
li.appendChild(a);
ul.appendChild(li);
}
}
<!--Bloggertrix.com-->
for (var l = 0; l &lt; json.feed.link.length; l++) {
if (json.feed.link[l].rel == &#39;alternate&#39;) {
var raw = json.feed.link[l].href;
var label = raw.substr(homeUrl3.length+13);
var k;
for (k=0; k&lt;20; k++) label = label.replace(&quot;%20&quot;, &quot; &quot;);
var txt = document.createTextNode(label);
var h = document.createElement(&#39;b&#39;);
h.appendChild(txt);
var div1 = document.createElement(&#39;div&#39;);
div1.appendChild(h);
div1.appendChild(ul);
document.getElementById(&#39;data2007&#39;).appendChild(div1);
}
}
}
function search10(query, label) {
var script = document.createElement(&#39;script&#39;);
script.setAttribute(&#39;src&#39;, query + &#39;feeds/posts/default/-/&#39;
+ label +
&#39;?alt=json-in-script&amp;callback=listEntries10&#39;);
script.setAttribute(&#39;type&#39;, &#39;text/javascript&#39;);
document.documentElement.firstChild.appendChild(script);
}
var labelArray = new Array();
var numLabel = 0;
<b:loop values='data:posts' var='post'>
<b:loop values='data:post.labels' var='label'>
textLabel = &quot;<data:label.name/>&quot;;
var test = 0;
for (var i = 0; i &lt; labelArray.length; i++)
if (labelArray[i] == textLabel) test = 1;
if (test == 0) {
labelArray.push(textLabel);
var maxLabels = (labelArray.length &lt;= maxNumberOfLabels) ?
labelArray.length : maxNumberOfLabels;
if (numLabel &lt; maxLabels) {
search10(homeUrl3, textLabel);
numLabel++;
}
}
</b:loop>
</b:loop>
</script>
</div>
</div>
</b:if>

<!--related post end-->


* If you want to add more post , change the value of   maxNumberOfLabels
* If you want to add more label, change the value of   maxNumberOfPostsPerLabel

6. Now click save template you are done.
Continue reading →
Wednesday, March 9, 2011

How to add 'Digg it' links to your blogger post

0 comments
How to add 'Digg it' links to your blogger post



1. Log in to your Blogger account Go to  Design >> Edit HTML

2. Put checked marked in "Expand Widget Templates"

3.Find this tag by using Ctrl+F <p><data:post.body/></p> tag

4. Paste below code after <p><data:post.body/></p> tag


<a expr:href='&quot;http://digg.com/submit?phase=2&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank'><b>Digg it !</b></a>


5.Now save your template .you are done
Continue reading →

How to embed PHP file in to blogger

0 comments
This will help you to embed the PHP file in to your blogger.
 

1.Log in to blogger and Go to Design >> Page Elements

2. Click 'Add a Gadget' and select 'HTML/Javascript'

3.  Paste below code.

<object width="400" height="300" type="text/html" data="Your URL.php"></object>

Replace your URL.php with your php file URL

4. Save it you are done.
Continue reading →
Tuesday, March 8, 2011

How to add 'StumbleUpon' links to your blogger post

0 comments
How to add 'StumbleUpon' links to your blogger post


1. Log in to Blogger account Go to  Design >Edit HTML

2. Put checked marked in "Expand Widget Templates"

3.Find this tag by using Ctrl+F <p><data:post.body/></p> tag

4. Paste below code after <p><data:post.body/></p> tag


<a expr:href='&quot;http://www.stumbleupon.com/submit?&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank'><b>Stumble it !</b></a>

5.Now save your template .you are done
Continue reading →

How to disable right click on Blogger image

0 comments

1. Log in to blogger and Go to Design >> Page Element

2. Click  'Add a Gadget' and select 'HTML/Javascript'

3.Paste below code.

<script language="JavaScript1.2">

var clickmessage="Right click disabled on images!"

function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName=="IMG"){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName=="IMG"){
alert(clickmessage)
return false
}
}
}

function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}

if (document.all)
document.onmousedown=disableclick
else if (document.getElementById)
document.onmouseup=disableclick
else if (document.layers)
associateimages()
</script>

4. Now click save you are done.
Continue reading →

How to add 'Reddit' links to your blogger post

0 comments

1. Log in to your Blogger account Go to  Design >> Edit HTML

2. Put checked marked in "Expand Widget Templates"

3.Find this tag by using Ctrl+F <p><data:post.body/></p> tag

4. Paste below code after <p><data:post.body/></p> tag


<a expr:href='&quot;http://reddit.com/submit?&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank'><b>Share on Reddit!!!</b></a>


5.Now save your template .you are done
Continue reading →
Related Posts Plugin for WordPress, Blogger...