Saturday, July 28, 2012

How to Make the Blogger Posts Have a Calendar for the Date in

It's quite common to see calendar style dates next to some WordPress posts, however for the Blogger platform it wouldn't be an easy task to add it. But who said it's impossible? You don't have to look much further than this blog. In this tutorial i'll show you how to create a calendar style date for your Blogger posts.

How to create calendar style dates in Blogger



For adding the calendar style to our blog date header, we should firstly setup the displaying for the date. Log in into your Blogger Dashboard, go to Settings > Formatting - look for the Date Header Format option and change the date so that it is the first day, then the month and finally the year, for example: 28 July 2012 - see the screenshots below

calendar style, calendar icons, blogger tips
If you're using the newer interface: go to Settings > Language and Formatting - Date Header Format and change the date format as you can see in my example below:


Now go to Design > Edit HTML > thick the "Expand Widget Templates" checkbox and search (CTRL + F) the following line:

<h2 class='date-header'><span><data:post.dateHeader/></span></h2>

If you find it twice, replace it twice with the code below:

<div id='Date'>
<script>changeDate(&#39;<data:post.dateHeader/>&#39;);</script>
</div>
<b:else/>
<div id='Date'>
<script>changeDate(&#39;&#39;);</script>
</div>

Now add the following code just ABOVE </head> (CTRL + F to find it)

<script type='text/javascript'>
//<![CDATA[
var DateCalendar;
function changeDate(d){
if (d == "") {
d = DateCalendar;
}
var da = d.split(' ');
day = "<strong class='date_day'>"+da[0]+"</strong>";
month = "<strong class='date_month'>"+da[1].slice(0,3)+"</strong>";
year = "<strong class='date_year'>"+da[2]+"</strong>";
document.write(month+day+year);
DateCalendar = d;
}
//]]>
</script>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<style type='text/css'>
/* Calendar style date
----------------------------------------------- */
#Date {
background: transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUEwzPzxOG0toMtXs3gYiQnztWviWN7tmkjOwiwqvfn972tYWAXBeW5eXabP3ZKvw-sFvtQNT5tXo5aND74xGHIPxRmbWHc31VDO-M0Q2g8gKVBjeaNvMbdU8mXYF8LE6n0zvdioONxp5N/s1600/calendar07.png) no-repeat;
display: block;
width:60px;
height:60px;
float: left;
margin: 15px 2px 0 -108px;
padding: 0 0 8px 0px;
border: 0;
text-transform: uppercase;
}
.date_month {
display: block;
font-size: 15px;
font-weight:bold;
margin-top:-1px;
text-align:center;
color:#ffffff; /* Month's color */
}
.date_day {
display: block;
font-size: 28px;
font-weight:bold;
margin-top:-8px;
text-align:center;
color:#282828; /* Day's color */
}
.date_year {
display: block;
font-size: 10px;
margin-top:-8px;
text-align:center;
color:#282828; /* Year's color */
}
</style>
</b:if>


Before saving your Template:

  • To change the calendar style, replace the url in blue with yours;
  • If the calendar doesn't appear correctly, change -108 with 0;
  • With green are marked the areas where you can change the color of the dates
Now Preview your Template and if everything is ok, click on the Save button.

Monday, June 4, 2012

How to Create Drop Caps (Big First Letters) in Blogger/Blogspot

Here's another way you can customize your Blog. In this case, your Posts and Comment's first letter. The effect is a large first letter stretching down three or four lines with the text wrapped around. The drop cap letter can also use a different font and can be a different color to the rest of the text. You often see this style in newspapers, literature, magazines. In this tutorial i will show you how to apply automatically Magazine text style in Blogger Posts and Comments. So let's start adding it!

-> Add Drop Caps For Blogger Posts

drop caps, blogger blogspot, tutorials

-> Add Drop Caps For Blogger Comments

drop caps, first letter, blogger

Big First Letter for your Blogger / Blogspot Posts

Step 1.
  •  If you are using the old Blogger interface:
Go to Dashboard - Design - Edit HTML - Expand Widget Template (make a backup)
  • If you are using the new Blogger interface:
Go to Dashboard - Template - Edit HTML - Proceed - Expand Widget Template (make a backup)

Step 2. Search (CTRL + F) for this piece of code:

]]></b:skin>

Step 3. Just above it, add the following:

.capital:first-letter {
float: left;
display: block;
font-family: Times, serif, Georgia;
font-size: 40px;
color: #000000;
margin:0px 5px 0 0;
padding:0 0 0 10px;
}

Customize:

Color - change the color highlighted in blue with the value of your desired color
Size - to change the letter size, increase/decrease the value highlighted in pink.

Step 4. Now search for this code:

<data:post.body/>

Step 5. Then immediately before and after add the red fragments you see in the example below:

 <div class='capital'><data:post.body/></div>

Step 6. Save your template.

Important! If the above code is not working, add one of following codes from this example:


<p class="capital"><data:post.body/></p>

Or

<span class="capital"><data:post.body/></span>


Big First Letter For Blogger/Blogspot Comments

Step 1. Log in to your Blogger account, then go to Design (Layout) >> Edit HTML >> check the "Expand Widget Templates" box

Step 2. Search (CTRL + F) for this piece of code (if you have already added this code, skip step 2 & 3):

]]></b:skin>

Step 3. Add the following code just above ]]></b:skin>:

.capital:first-letter {
float: left;
display: block;
font-family: Times, serif, Georgia;
font-size: 40px;
color: #000000;
margin:0px 5px 0 0;
padding:0 0 0 10px;
}

Customize:

Color - change the color highlighted in blue with the value of your desired color
Size - to change the letter size, increase/decrease the value highlighted in pink.

Step 4. Then Search for this piece of code:

<data:comment.body/>

Step 5. Add the red codes before and after <data:comment.body/> as you can see in my example below:

<p class="capital"><data:comment.body/></p>

Step 6. Save your Template.

That's it! Now you have a cool drop cap first letter on your blog.
If you have any question, leave a comment below!

Saturday, June 2, 2012

Recommended Post Slide out Widget for Blogger

You know those popup messages that slide out from the bottom right corner once you’ve almost reached the bottom of the page? Well, they used to be available only on WordPress but not anymore; now Blogger users can enjoy it too! The Recommended Post slide Out Widget is an invitation to the reader to read any other post once he has read one of your blog entries. It's both useful for you (can improve your Click Through Rate (CTR) ) and for your blog visitors too.
recommend, widgets, gadgets, blogger

Demo
Scroll down to the bottom of the post and you should see the Recommended Slide Out Widget appearing in the right corner of blog's page.

recommended post, widget, design


How to add the Recommended Post Slide out Widget

1. Log in into your Blogger account, then go to Design (or Layout) > Page Elements
2. Click on Add a Gadget Link
3. Choose "HTML/JavaScript" option
4. Paste this code inside the empty box:

<div id="hlslidein" style="display:none;"> <div class="help">?</div><div class="expand">+</div> <div class="close">X</div> <p>Recommended for you</p> <div id="hlslidein_image"></div> <div  id="hlslidein_title">Loading..</div> </div> <script> if(document.location.href.split("/").length==6&&document.location.href.indexOf(".html")!=-1){if(typeof hl_onload_queue=='undefined')var hl_onload_queue=[];if(typeof hl_dom_loaded=='boolean')hl_dom_loaded=false;else var hl_dom_loaded=false;if(typeof hl_async_loader!='function'){function hl_async_loader(src,callback,id){var script=document.createElement('script');script.type="text/javascript";script.async=true;script.src=src;script.id=id;var previous_script=document.getElementById(id);if(previous_script)if(previous_script.readyState=="loaded"||previous_script.readyState=="complete"){callback();return}else{script=previous_script}if(script.onload!=null)previous_callback=script.onload;script.onload=script.onreadystatechange=function(){var newcallback;if(previous_script&&previous_callback)newcallback=function(){previous_callback();callback()};else newcallback=callback;if(hl_dom_loaded){newcallback()}else hl_onload_queue.push(newcallback);script.onload=null;script.onreadystatechange=null};var head=document.getElementsByTagName('head')[0];if(!previous_script)head.appendChild(script)}}if(typeof hl_domLoaded!='function')function hl_domLoaded(callback){hl_dom_loaded=true;var len=hl_onload_queue.length;for(var i=0;i<len;i++){hl_onload_queue[i]()}}hl_domLoaded();hl_async_loader("http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js",function(){hl_async_loader("http://helplogger.googlecode.com/svn/trunk/Recommended Post Slide Out For Blogger Blogspot.js",function(){},"hl-out-slide")},"jQueryjs")} </script> <a href="http://helplogger.blogspot.ro/2012/06/recommended-post-slide-out-widget-for.html" target="_blank"></a>

5. Save The Widget.
6. Go to Edit HTML > Check the "Expand Widget Template" box
7. Search (CTRL + F) for the following code :

<div class='post-footer-line post-footer-line-1'>

OR

<p class='post-footer-line post-footer-line-1'>

OR

<data:post.body/>

Immediately below any of these lines, add the following snippet

<b:if cond='data:blog.pageType == "item"'>
<div style='display:none' id='bpslidein_place_holder'></div>
</b:if>

Now when the reader scrolls down to this div, the slide will open up.

8. Save your template. And that's it!

Credit goes to: bloggerplugins.org

Numbered comments on threaded comments for Blogger/Blogspot

In a past tutorial i've been talking about how you can add numbered comments to your blogger blog but today we'll learn how we can add numbered comments along with comment bubbles on our threaded comments too.

What the following CSS trick will do for you:
  1. When the general block of comments is initiating (.comments-content) a counter called countcomments activates and starts with an initial value of 1. 
  2. Then, each time the code flow goes through a review of any level, either a principal or a reply comment (.comment-thread li), content will bring us in front (:before) of the body of the comment, the number that is the counter at the time.
  3. Then is incremented in one unit the counter (counter-increment).
See the screenshot:
count comments, comment bubble, forum, blogger

Isn't that great? Well, i'm pretty sure many of you have been waiting for this cool trick. So let's begin applying it for our threaded comments system.

Steps to add bubble comments count:

Step #1: If you are using the old Blogger interface:
  • Go to Dashboard - Design - Edit HTML - Expand Widget Template (make a backup)
If you are using the new Blogger interface:
  • Go to Dashboard - Template - Edit HTML - Proceed - Expand Widget Template (make a backup)


Step #2Search (CTRL + F) for this piece of code:

]]></b:skin>

Add the following code just above it:

.comment-thread ol {
counter-reset: countcomments;
}
.comment-thread li:before {
content: counter(countcomments,decimal);
counter-increment: countcomments;
float: right;
font-size: 22px;
color: #555555;
padding-left:10px; 
padding-top:3px; 
background: url(
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0wOPObykr9_o1JZ5GaixGaBIOxKj9qmZlyorBddABJgATs8DsrXm_m5zzzhVAqMJ5MCf1xbv4vMzmk91kJzBmnTkBcP-3bJERQBFdmzG_re2mSx7KcW0_-rG7ApX0m231LkVoibLw88hZ/s1600/comment+bubble2.png) no-repeat;
margin-top:7px; 
margin-left:10px; 
width: 50px; /*image-width size*/
height: 48px; /*image-height size*/ 

}
.comment-thread ol ol {
counter-reset: contrebasse;
}
.comment-thread li li:before {
content: counter(countcomments,decimal) "." counter(contrebasse,lower-latin);
counter-increment: contrebasse;
float: right;
font-size: 18px;
color: #666666;
}

Note:
  • remove the code in red (including the blue code) if you want to remove the comment bubble
  • to change the comment bubble, replace the code in blue with the URL address of your own icon. If you're undecided what icon you should use, you can find some cool icons in my previous posts (check out here and here)
  • to change the position of comments count, increase/decrease the values (3 & 10) from padding-top and padding-left
  • to change the position of comments bubble/icon, change the values (10 & 7) from margin-left and margin-top
Step #3: Now save the template and you're done!

 If you enjoy reading this blog, please share and subscribe. For any questions, leave a comment below.

Friday, June 1, 2012

How to add “Email Subscription Form” to Blogger Blogspot

email subscription form, blogger blogspot, gadgets
If you are providing useful information in your blog, then every visitor will want to get latest updates from your blog. For that purpose you need a Email Subscription Form in your blog, so that interested visitors can easily get latest updates. And to add email or feed Subscription Form to your blogger blog (blogspot) it's a very easy thing to do. So let's begin:

1. Log in to Blogger, then go to Design > Page Elements > click on "Add a Gadget" link.
2. From the pop-up window, click on the "HTML/JavaScript" gadget.
3. Paste the following code inside the empty box:
<style>
.hl-email{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh1U-2ug8nqFO8CD-xxmGOkbR7CIcCIOXdQ1o24k5qqEiu1WnzWTkWXwCpzV3nZY40edJ-JxpzQ4dnrF1gFldr5hwMeJ4HqydGG7ArmI6zsEXU-7iv3wYp4gTJdiBnGkBFrV4LFquoH-0/s1600/mail.png) no-repeat 0px 12px ;
width:300px;
padding:10px 0 0 55px;
float:left;
font-size:1.4em;
font-weight:bold;
margin:0 0 10px 0;
color:#686B6C;
}
.hl-emailsubmit{
background:#9B9895;
cursor:pointer;
color:#fff;
border:none;
padding:3px;
text-shadow:0 -1px 1px rgba(0,0,0,0.25);
-moz-border-radius:6px;
-webkit-border-radius:6px;
border-radius:6px;
font:12px sans-serif;
}
.hl-emailsubmit:hover{
background:#E98313;
}
.textarea{
padding:2px;
margin:6px 2px 6px 2px;
background:#f9f9f9;
border:1px solid #ccc;
resize:none;
box-shadow:inset 1px 1px 1px rgba(0,0,0,0.1);
-moz-box-shadow:inset 1px 1px 1px rgba(0,0,0,0.1);
-webkit-box-shadow:inset 1px 1px 1px rgba(0,0,0,0.1); font-size:13px;
width:130px;
color:#666;}
</style>
<div class="hl-email">
Subscribe via Email <form action="http://feedburner.google.com/fb/a/mailverify" id="feedform" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=helplogger', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
<input gtbfieldid="3" class="textarea" name="email" onblur="if (this.value == &quot;&quot;) {this.value = &quot;Enter email address here&quot;;}" onfocus="if (this.value == &quot;Enter email address here&quot;) {this.value = &quot;&quot;;}" value="Enter email address here" type="text" />
<input type="hidden" value="helplogger" name="uri"/><input type="hidden" name="loc" value="en_US"/>
<input class="hl-emailsubmit" value="Submit" type="submit" />
</form>
</div>

Settings 
  • Replace the url address in green if you want to change the email icon
  • Increase/Decrease the 130 width value for a wider text area
  • Replace http://feedburner.google.com/fb/a/mailverify?uri=helplogger with your Feedburner Email Feed link. You can get it by visiting your feedburner account then navigate to Publicize and then to Email Subscriptions.
  • Replace helplogger with your feed title. It appear at the end of your feed link. In my case it is http://feedburner.google.com/fb/a/mailverify?uri=helplogger


4. Save your widget and check your blog.

Thursday, May 31, 2012

Create A Rollover Image Effect (change image on mouseover)

The Rollover effect is one in which an image web object changes (swaps itself) on mouse over to another web object (called rollovers) and reverts back to the original image on mouse out. Rollover images are preloaded into the page when it is loading, this ensures that the rollovers are displayed quickly. The onMouseOver and onMouseOut attributes of the link tag are used to make this functional.

Demo:  Place your mouse over the image below to see its rollover effect

Image source: mdgraphs.deviantart.com

Making Rollover Effect Image

You have the following code:

<a href="URL ADDRESS"><img src="URL OF THE FIRST IMAGE GOES HERE" onmouseover="this.src='URL OF THE SECOND IMAGE GOES HERE'" onmouseout="this.src='URL OF THE FIRST IMAGE GOES HERE'" /></a>

Change the colored texts as it follows:

1. URL ADDRESS

This is the address you want the image to lead to when it's clicked.
Example : http://www.helplogger.blogspot.com

2. URL OF THE FIRST IMAGE GOES HERE

Replace the green text (two times) with image's url address - this is the image shown before you hover over it.
Example: http://i1256.photobucket.com/albums/ii494/helplogger76/helploggerblogspotcomstickie3.png

3. URL OF THE SECOND IMAGE GOES HERE
Replace the text in red with the url of your image - this image will appear when your cursor hovers over it.
Example: http://i1256.photobucket.com/albums/ii494/helplogger76/helploggerblogspotcomstickie2.png

Now you can paste your image inside a blog gadget, going to Page Elements > Add a Gadget > Select "HTML/JavaScript and add it to your sidebar Or you can add it inside your post by going to New Post > Switch to Edit HTML tab and then paste the code in the empty box. That's it.

Saturday, May 12, 2012

Add Facemoods Emoticons To Your Blogger Comments

Want to add Facemoods emoticons in your Blogger comments? Then follow the next steps:

emoticons, smileys, blogger, tricks

Step 1.

If you are using the old Blogger interface:
  • Go to Dashboard - Design - Edit HTML - Expand Widget Template (make a backup)
If you are using the new Blogger interface:
  • Go to Dashboard - Template - Edit HTML - Proceed - Expand Widget Template (make a backup)

Step 2. Search (CTRL + F) for this code:

  • For previous commenting system: 
<h4 id='comment-post-message'><data:postCommentMsg/></h4>
  • For threaded comments:
<div class='post-footer-line post-footer-line-3'>

Step 3. Add the below code just above it
(for threaded comments, add the code after):

<b:if cond='data:blog.pageType == "item"'>
<div style=' width: 450px; text-align: left; border: 1px dashed #0084ce; background: transparent; padding: 10px; color:#000000; font-weight:bold; '>
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNS4diKXkdenQLoZ-KobfrEucNt0jsNVgJoa2pjGZgYBF8kx-VVGQrwz7UrYF94IiSIFD5fLYo4bwmJK1XnE4G0uSRf-SwEZkUQgtLjSGX0X7De8zlBAeB8Ev8jdhXp1iru6Hg_25ypNcf/s1600/helplogger.blogspot.com(1).gif'/> :a
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMgztmuOySPRWfUmL2FjR-30sk3K5BAKCpM0x2gHpZ919ojJcWbUoKaeLpgln_tiQU1enzrm2BWdKPbVEoIP-OaigbHZl9Fnjdupr1EcdfBqnQe5qE8PHZJXslTJy8N3s6BZ4-I9tiFnj8/s1600/helplogger.blogspot.com+(2).gif'/> :b
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfZk9zKIS92o4q5mOxlT7wUfnFEIicn-GVIuJAw3ctHSYCXb4GQvzjTlXwJUNqHc0lCQk8iortU0M23-qFZVZHU-DXojg0J9tjzExWQ-GvMaTCmPz4IFl6Y5AzJyxHLJ2d3eC7SpvziSNi/s1600/helplogger.blogspot.com(3).gif'/> :c
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4xlvBaGbpiVLFK5ZFTQ1ft1xS3AE9r5tOUOitff0JwuqmxsrYVjMrmwFHc6kJu7uakoCsWr8DTDnzfHa3VqStX3S3BFo_d5RyURF-C1LeHh9rsk0lwj2TK33iMCFPPAMYb2m__Q7WNqXY/s1600/helplogger.blogspot.com(4).gif'/> :d
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-ViniMyVwB3iJo54xyet19xnJNirWz-uoG67RrnKRJwj8tAZa4I4Yeib1XIVRhpMhnXiG3QJUovHM9SGC1RojJAg6Ov3KIA4hANpI6QKU0AUxHBcab_L8sPfcR7Ma3HANTw9OiG0YogVI/s1600/helplogger.blogspot.com(5).gif'/> :e
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQtPZg_iCkmnB1UIaDpSJun_992IkBDVXc1YvIO9DJaI057bG5mOP0PE3jtp6e8oQpIkGdTJeAMPnumDwJLzhhigZG139_JtVnUNmEsbpZdSojrfdktR8Mmu5oeQyDbEFhq0wKD8v1Ameb/s1600/helplogger.blogspot.com(6).gif'/> :f
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggaaxCHcYJcnAha6dS-gSQ0Wguhx-7_cmbgb2aXuQT9eJfRL0PsjLFZyh3K7AYhJ8W0oCfoUwPz2ahZ1Bq2LjF1mexbyJIBRc1y9VV6M46ElAEcP_qtyogSrtdav8nhvtbHzaJ9KIhsDd1/s1600/helplogger.blogspot.com(7).gif'/> :g
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE3jMdhB8K7onnPCYRz_UmtFg-4dV8ZOgD6nHqi7qJkrZw7El4716KT0PGGfhB2zNKtSQJQBYrUY0PEf70w7qJryMOZnIkSxaUPT70ddkEZ985f11g-YU-SLzpl-AVNdfbIghcqYvaGB6N/s1600/helplogger.blogspot.com(8).gif'/> :h
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfCHYeOkUyOmiAVPc3T64kxriZv1nPW7FS9Qx85-dmERn3BUenFnzOTM3OHUiBY3DWfO77UwocvShFJvJJoLc-ontEcMGv8z4fnEbfCDSykZAsx64Sl02xGSj2Nk92ai5DRpF9MfGKjPnz/s1600/helplogger.blogspot.com(9).gif'/> :i
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL7kkE2txFoZa944FKVb2wJGtcgT3HxV5zxfykv1n5ugRPI_e8Edehc2SUjuA_pO1vXUHJ507Vy9bZfiOAxEFB2oxjgYfpx-Bnl6PJS9gQSZatuJw2JQ9KCApeVsJg2mW8hbRGuxUPEhxY/s1600/helplogger.blogspot.com(10).gif'/> :j
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTLaCCHT6We3BasmxlLANF6zC_DUsE0GPdwRiJ2a_-dHK2W04mTX4CxFLbfvEuioWKj7jSQDzgZu1wmOyehe_7n3faCIhM9EywueFCYQkiEjU1slk2qMAvcLmfx75YDD9JWOlBoqBMDVyI/s1600/helplogger.blogspot.com(11).gif'/> :k
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC3vOYfYN3XyvmOCwN6eRL6jZMvvS9iiVo1XZMhQjr_dX-CMqxHrRlRhUfyhnC47gvmYAUZjGR-4bCRomXJgpvhdPJHqMLsksozcVhC1mtO_UwRgVrnDfNmIjD-_KZjf5fQ7FbnfQt7pcz/s1600/helplogger.blogspot.com(12).gif'/> :l
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBXFrvXrRFcZHSfbzAXNYXFkv57aXQHFZQLdeUDjK0VIwissHWJjSsrv3dvSuIySXmQYIgb_k-KtS95KsRcTH2dQCrOuee5SBVkJsLmnDNRus91HFSNzmbVpK6SQYmewij18E7WatULu31/s1600/helplogger.blogspot.com(13).gif'/> :m
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1-n_blW7f6M0XYBcJ5Rrd9jTYUPK-j8sZzBDAdBzymK8KFGxDJ4QeSHz0ncN4onqwsACT1UWPoHYzSJCLHXM6Htaez6aKebdx-fvpmKkfnZpufJGHsZRm8DQTK_jUUQgdGVBAhu5jh-wR/s1600/helplogger.blogspot.com(15).gif'/> :n
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZnd2bSNgfmkGP-fOcuUA9TnPJsg7kXT7oMb9jt3vjV9JajPkl6_yXpQ4ulGzButuk0fvf10Xg_zWmPonauMeE2WnhqsSPitznN0u8DEM9MhAb6XAFYa5Bv5EZeSLJOf2l60KOq-mQwW7D/s1600/helplogger.blogspot.com(16).gif'/> :o
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYA470_wLcI5XmAHPnainSujWEvm-RO4ttJBqi-hCj_GfpsZA1O1-qsr4dsaEb8mOIbFVnFWenbFXgnjnNILcJOsKLQJn-3lC9RhVUaZLumgjefuC2Jx9DYvtCuvYe9-fZL4nxp1x6UXsy/s1600/helplogger.blogspot.com(14).gif'/> :p
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAuohyphenhyphenC8bTCcYFlTbQWCHH8MV8q18qgeb3n7qnCKsc-S35OsNr5wFjajw94i8yCqcKIiK3iKh51lZuUCijzgiWBhIkEWUVL7eEhNQmHjgZsfCXrlmAXSGhQ_1_sso1Z2A1kYEf508USRRn/s1600/helplogger.blogspot.com(17).gif'/> :q
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJWxjYxvzoFwmq_-0I5W7DVxPyOV-sfUq_j6dlPZB8_qWhbrhRkju4TRSXfuXP_Re5F9xTWrb0BemaH8DyV3gBstN-3LgdGgrzeuAaGOHlGWRjbENqfyFeiM6Wsz2wmXhxzeVYUCT3Dhl7/s1600/helplogger.blogspot.com(18).gif'/> :r
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLa_wribCfy3ISiWnYNW8t-BYffGKF_hldn_M7XgCUWaUMyikRu1vhKFXVO6THA6ru64enXsbDQ2pwTlMHq-dhu6Y7ywiq4z7PSItXUXlYtS17mO6tBQf0qjbIVLZN7HDCMXLuggOV7c67/s1600/helplogger.blogspot.com(19).gif'/> :s
&#160;
<img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoZueq3IjGsMhieOv_U7Geogu2kTGfTJAU1EzK6w2Gx6TLiwpG3aAIaohb-ODfzjO87oHlc3Zc98WVRi2MTTL02uLzYDMQQtocuUUzQBWemqS1xmCgDRcnSvPIX9HK8K3NbalrzSpeu7_v/s1600/helplogger.blogspot.com(20).gif'/> :t   <a href='http://helplogger.blogspot.com/2012/05/add-facemoods-emoticons-to-your-blogger.html' style='color: rgb(30, 122, 183); font-size: x-small;'>Add smileys to Blogger + </a>
</div></b:if>

Step 4. Now search for this piece of code:

</body>

Step 5. And add the following code immediately above it:

  • For previous commenting system:
<script type='text/javascript' src="http://helplogger.googlecode.com/svn/trunk/facemood emoticons.js"/>
  • For threaded comments: 
<script type='text/javascript' src="http://helplogger.googlecode.com/svn/trunk/facemood emoticons threaded.js"/>

Step 6. Save the Template. And enjoy your comments :>

Sunday, May 6, 2012

How to Change Default Anonymous Avatar in Blogger Comments

In the past tutorial you've learned how you can change avatars size in blogger comments but this simple tutorial will show you how to change or customize default avatar of anonymous commenters or Blogger users with no photo added on their profiles. After Blogger announced new feature of threaded comment, we can still customize it by adding a jQuery plugin to our template and replacing the default anonymous avatar URL http://img1.blogblog.com/img/anon36.png and the one for blogger users http://img2.blogblog.com/img/b36-rounded.png with our own.

anonymous, default avatar, blogger blogspot

Step 1.

If you are using the old Blogger interface:
  • Go to Dashboard - Design - Edit HTML - Expand Widget Template (make a backup)
If you are using the new Blogger interface:
  • Go to Dashboard - Template - Edit HTML - Proceed - Expand Widget Template (make a backup)

Step 2. Find (CTRL + F) this code in your template:

</body>

Step 3. Add the following code just above it:

<script src='http://code.jquery.com/jquery-latest.js'/>
<script>
$(&quot;img[src=&#39;http://img1.blogblog.com/img/anon36.png&#39;]&quot;)
.attr(&#39;src&#39;, &#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6lHmoiuI0T_FsJVaLWQRb1ubVfainqyYyn5p4h-HML42YwXjFiHYhC4VyzncH8xq-Ipd8biH6qyXUTho3Ir-Yb3pTQ_A2RK9NPsjvqXV_Foobw3xN0wT2fYiYDM9uFzu4HwO1wewbQI4/s1600/default_avatar.gif&#39;)
.ssyby(&#39;blank&#39;)
</script>
<script src='http://code.jquery.com/jquery-latest.js'/>
<script>
$(&quot;img[src=&#39;http://img2.blogblog.com/img/b36-rounded.png&#39;]&quot;)
.attr(&#39;src&#39;, &#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9mtx0MVMjUSMSIG0PJGaVa2cV1RPqGHpH36GcoF_ehvaOGFU3wgxSnoV0De23BDuEnw4OQ18b0SeYor1tPkrpGQ0eSS6FHKGeh45eu5C-O0Ujs7ApyfMod-yQI8wKSbifSyv5vJoKnTs/s1600/blogger-user.png&#39;)
.ssyby(&#39;blank&#39;)
</script>

Step 4. Save the Template

How to change avatar:

For Anonymous users: Replace the code in red with the url address of your image
For Blogger users: Replace the URL in blue with your own.

You can choose one from these below (copy the url address):


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6lHmoiuI0T_FsJVaLWQRb1ubVfainqyYyn5p4h-HML42YwXjFiHYhC4VyzncH8xq-Ipd8biH6qyXUTho3Ir-Yb3pTQ_A2RK9NPsjvqXV_Foobw3xN0wT2fYiYDM9uFzu4HwO1wewbQI4/s200/default_avatar.gif


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6mx_2z2a3TbRjXB6xmWIoyDUoXLBDEBelI1s0GMo8458kcI8iHKE4l3QONZXAZTX6Etuk9wfDZuSOjTgnAbJtjM6jc1mJyjzZFs4Jc4msB_hMaDJ15mXVhfJdTYhV8gbS-zsMCJYb5Jg/s1600/facebook.gif


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg10fDGJsRmRCtvGNIoPWQNI8JXRzwtEPkZymcpyEuYUUy0msb4c8BN3V5PjchVyIiTNbLGPh6Ycd4Bi-mbjG2ofeyYxrgt1pu5if6euWacCNJCtvydZX-ss-V4x6bAa-giusriv1L-pbQ/s1600/anonymous3.png



https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAJRxx5B-o6wBUEKFEgxuneAA5y_JziaiqmRO1990zu8JftGhJ7fHPUO8SArjBX2uWIwcCc50GDz-Depts-m8TZdgwbVZCUqOoAXjnDJDSxHGZcTLOi_o7kMAyVEaM4KqJicCIG6m5Itly/s1600/blogger-user.png

If you liked this post, please consider sharing it. Thanks!

Saturday, May 5, 2012

How To Change Avatar Size In Blogger Comments

This simple trick will help you to change the avatars size in Blogger comments. For changing the style and size of avatars, we should add some CSS codes in our Blogger template.


Step 1.

If you are using the old Blogger interface:
  • Go to Dashboard - Design - Edit HTML - Expand Widget Template (make a backup)
If you are using the new Blogger interface:
  • Go to Dashboard - Template - Edit HTML - Proceed - Expand Widget Template (make a backup)

Step 2. Find (CTRL + F) this code in your template:

]]></b:skin>

Step 3. Copy and paste one of the following codes just above it:

[Works in Blogger threaded comment system]

.comments .avatar-image-container{
background-color: rgb(34, 34, 34);
border:1px solid #ccc;
margin: 0px 10px 0px 0px;
padding: 0px 0px 0px 0px;
width: 64px;
max-height: 64px;
}
.comments .avatar-image-container img{
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
max-width: 64px;
height: 64px;
}

[for old blogger commenting system]

.avatar-image-container{
border:1px solid #d6d6d6;
margin-left: -30px;
-moz-border-radius: 4px;
background:#fff;
height:70px;
min-height: 70px;
width:70px;
min-width:70px;
}
.avatar-image-container img {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIx0O5YgvUUu8ta-8RyNMqRtA4LPvXThc9FAULskviTlpwvyskt_w2Pb5H-uIiR-EFpCdSZsu8FHmkpArcx-MNyMSt4Zb2nklqzOYv6RcP_LUt28qQqR76GpAAry0jPZQkFc16pEAIfOc/s200/anonymous.jpg);
background-repeat: no-repeat;
background-position: center;
background-size: 100%;
width:70px;
min-width:70px;
height:70px;
min-height:70px;
}

Note: If you want bigger/smaller avatars, change the values in red. To change the anonymous avatar, replace the URL address in blue with your own. (works only for previous commenting system)

Step 4. Save the Template.

Now view your blog to see the results.
Enjoy!

Show Blogger Image only in Homepage and Hide it in Post Page


Want to know how to hide specific images from blogger posts pages and to appear only in homepage? In this tutorial we'll learn how we can do this! So let's start hiding our images from posts pages:

Step 1. 


If you are using the old Blogger interface:
  • Go to Dashboard - Design - Edit HTML - Expand Widget Template (make a backup)
If you are using the new Blogger interface:
  • Go to Dashboard - Template - Edit HTML - Proceed - Expand Widget Template (make a backup)
Step 2. Find (CTRL + F) this code in your template:

    }]]></b:skin>

Step 3. Copy and paste the following code just below it

<b:if cond='data:blog.pageType != &quot;index&quot;'>
<style>
.hidepic{
display: none;
}
</style>
</b:if>

Step 4. Save the Template.

Now everytime you create a post, firstly add the pic you want to hide and then switch to Edit HTML tab where you'll see the HTML code of the image you have added that will look something like this:

<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdAHGeDW_wCdi7DNEo-F-tK9SRALnMtZ9JMtevvV5OmJKDkqdicTcnPsUM9QzSjv8QlJmF8OgWsNmFlvYPGTcNM5nD5O3NC7Z4ybJErPMSGolJV0SguPUxJyNOV-3aFmJxVa_Z48L7OPU/s1600/fire_bird_by_fhrankee-d32af8v.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdAHGeDW_wCdi7DNEo-F-tK9SRALnMtZ9JMtevvV5OmJKDkqdicTcnPsUM9QzSjv8QlJmF8OgWsNmFlvYPGTcNM5nD5O3NC7Z4ybJErPMSGolJV0SguPUxJyNOV-3aFmJxVa_Z48L7OPU/s320/fire_bird_by_fhrankee-d32af8v.png" width="320" /></a></div>

Note: it should be at the exact location where your image has been added (if the image is at the middle of the text, then the code should be located also at the middle)
All you have to do is to replace "separator" with "hidepic" as you can see in this screenshot below:


That's it!

How to Remove Showing Posts With Label in Blogger

label, blogger, remove, how to

For any default Blogger layout, the "Showing posts with label" message shows up above the posts whenever you click on a label link.
remove labels, blogger, how to, tricks

As it's a pretty useless and annoying message, many people like to have it removed. If that is your wish, just follow the tutorial below:

Removing "Showing post with label...show all posts"

Step 1.

If you are using the old Blogger interface:

  • Go to Dashboard - Design - Edit HTML - Expand Widget Template (make a backup)

If you are using the new Blogger interface:

  • Go to Dashboard - Template - Edit HTML - Proceed - Expand Widget Template (make a backup)

Step 2. Now find (CTRL+F) this code in the template:


<b:includable id='status-message'>
  <b:if cond='data:navMessage'>
  <div class='status-msg-wrap'>
    <div class='status-msg-body'>
      <data:navMessage/>
    </div>
    <div class='status-msg-border'>
      <div class='status-msg-bg'>
        <div class='status-msg-hidden'><data:navMessage/></div>
      </div>
    </div>
  </div>
  <div style='clear: both;'/>
  </b:if>
</b:includable>


Step 3. Delete the code from above and replace it with this one:

<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>

Save the template. View your blog and click on some label....no more box.

Friday, May 4, 2012

Recent Posts Widget with Thumbnails for Blogger/Blogspot

The past days i've shared a tutorial on how you can add a Simple Recent Posts Widget, but today we will learn how to add a recent posts widget which comes along with posts thumbnails and snippets too.
recent posts, blogger widgets

Here is how you can add a Recent Posts widget/gadget with thumbnails to your Blogger (blogspot or custom domain) blog. It's pretty simple. Follow the steps below:

1. Go To Blogger > Design > Page Elements
2. Click on "Add a Gadget" link
3. From the pop-up window, choose HTML/JavaScript
4. Paste the following code:

<div class="eggTray">
<script src="http://helplogger.googlecode.com/svn/trunk/listbadge.js">{"pipe_id":"1a6640e2a78b2c6e736f2220529daae5","_btype":"list",
"pipe_params":{"URL":"YOUR-BLOG/SITE-URL/feeds/posts/default"},
"hideHeader":"false","height":"500","count": 8 }</script>
<div style="font-family: arial, sans-serif; font-size: 9px;" class="ycdr"><a href="http://helplogger.blogspot.com/2012/05/recent-posts-widget-with-thumbnails-for.html" target="_blank" title="Grab this widget">Recent Posts Thumbnails</a> <a href="http://helplogger.blogspot.com/" target="_blank">Blogger Widget</a></div><noscript>Your browser does not support JavaScript!</noscript></div>
<style type=text/css>
.eggTray {margin:10px 0px;padding:0px;}
.ybr li  {border-bottom:0px #cccccc dotted; padding:0px 0px 10px 0px!important;}
.pipesTitle {padding-top:0px;}
.pipesDescription {display:true;}
.ycdr {background:transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWCdfNh9O0GhjNiJtqnd8aNsYaUz54IzA5nEGEBVtz_jzCtXZgX4flIzypDD7m4rJsFillWtZyLgttud5sAFqh6yYVa-GI4_QvaZGRxD5820lKPcKa-wsvyfqmDHb9TYaaIhVncs23tdM/s1600/logo.png) 0px 0px no-repeat; padding: 1px 0px 0px 19px; height:14px; margin: 4px 0px 0px 0px;line-height:14px;}
.ycdr, .ycdr a {color:#999999;}
.widget .popular-posts ul {padding-left:0;}
</style>

Change YOUR-BLOG/SITE-URL with the url address of your site/blog (ex: http://helplogger.blogspot.com) and be careful to have no forward slash symbol "/" at the end of your url

Settings
  • To disable the scroll bar, remove the number 500
  • By default, this widget is set to display a maximum of 8 recent posts. To change this number, replace the number 8 with the number of posts desired
  • if you want only the posts titles to appear, change true to none and "0" from padding-top:0px with 10

5. Save your widget. And that's it!

If you need more help, leave your comment below.

Saturday, April 28, 2012

Google Translate Widget with Flags For Blogger

The Google Translate Widget allows your visitors to translate your site or blog in their own languages.
This widget auto detect your blog language and translate it to the readers chosen language.
It supports 12 different languages: English, French, German, Spanish, Italian, Dutch, Brazilian, Russian, Japanese, Korean, Arabic And Chinese.

How To Add It To Blogger

Go to your Blogger Dashboard >> Design >> Page Elements >> Click on "Add A Gadget" link, choose HTML/JavaScript and paste the following code in the empty box:

<script type="text/javascript">
function showHide(shID) {
    if (document.getElementById(shID)) {
        if (document.getElementById(shID+'-show').style.display != 'none') {
            document.getElementById(shID+'-show').style.display = 'none';
            document.getElementById(shID).style.display = 'block';
        }
        else {
            document.getElementById(shID+'-show').style.display = 'inline';
            document.getElementById(shID).style.display = 'none';
        }
    }
}
</script>

<style>

 .google_translate img {
margin: 10px 20px 0px 20px;
    height: 24px;
    width: 24px;
        }
        .google_translate:hover img {
filter:alpha(opacity=0.30);
        -moz-opacity: 0.30;
        opacity: 0.30;
        border:0;
        }

.more {
    display: none;
a.showLink, a.hideLink {
    text-decoration: none;
    color: #0880C4;
    padding-left: 18px;
    background: transparent('down.gif') no-repeat left; }

a.hideLink {
    background: transparent url('up.gif') no-repeat left;
color: #0880C4;}

a.showLink:hover, a.hideLink:hover {
color: #0880C4;
 }

 </style>

 <div>

 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="English" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cen&hl=en'); return false;"><img alt="English" border="0" align="absbottom" title="English" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCHMXWKntXARsr21sRqZi1xxQlIkzA8ng9_j4pKUpoJoFfYQXRjR304BOmR1ZlFC9o35pzFZfljM9GVzjGSLDD8nmJUTT2-yX-1VsEHKmSIpFV4T-OUW5ONbL0Ip0sqw5cWM9w-991D2j1/s1600/United+Kingdom(Great+Britain).png" style="cursor: pointer;margin-right:8px" width="24"/></a>

 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="French" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cfr&hl=en'); return false;"><img alt="French" border="0" align="absbottom" title="French" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKefb0-3zoLqTOxN7z-0lXQq0f5ET_fkvUvaDZ6SxHKeT9375de046qTyWYFI1VYpfHuDguivcTLYuX7rLgjH1z-OfwoB1i8Q3n6Ez78qr_NyuQyL9MxX6paXaz1bWBJ-cfH1Pz3dfY5qw/s1600/France.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="German" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cde&hl=en'); return false;"><img alt="German" border="0" align="absbottom" title="German" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2YWTqFFA09_MWSpdW_eM3VM2iScI07Z1f1mGS6vMUIY26iJDpuf0-KNGTQ9TsUQvAPqUZqrgmTwoxju9EZIY7l5ymD5nMKRS8zBHzEOqTY84xsS9Xiwczo0wNc8w6sU8_8jtTRZdJDwMb/s1600/Germany.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Spain" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7ces&hl=en'); return false;"><img alt="Spain" border="0" align="absbottom" title="Spain" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeFZ98bQ_mGH5CZcU_7EFolBM4Xne6iDqBJQOWofdlzRsVvr1LVXOJZQDvpEsrqCwzh7TDG63o2_I3S091NYl32jDB2KgqFEnGUnYbWzL8M6JtYsWSGQ7n0CBFcOlEWJTGIaG4ovvRNiQE/s1600/Spain.png" style="cursor: pointer;margin-right:8px" width="24"/></a><a href="#" id="example-show" class="showLink"
onclick="showHide('example');return false;">More</a>
<div id="example" class="more">
 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Italian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cit&hl=en'); return false;"><img alt="Italian" border="0" align="absbottom" title="Italian" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhk7QvAAP8ltUdn2543fWYXTJnaIyGOCWWyMvtRlYPmtLatLQ0ucAcX0fTmL4fqh9wA5CpXOXtp_mryeCUccsbAEwnCix_n_9xag-QMxpG6UOs16KIg7oOfW8DA4HsT4sDw18P6-V7A3I7f/s1600/Italy.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Dutch" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cnl&hl=en'); return false;"><img alt="Dutch" border="0" align="absbottom" title="Dutch" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZqQFX_lYzqSd7_tCWQ_fyJ1s7PEY-TOPYqQgQ-oyxhKjWZl2dkGzsjueutz_uSnNIH6oKNp_ETEZuIhXWtmkbQsmXi59pskq_rYEcxDu8SlsR1QKNJ39nGdIW4Qkt6LmhE-Lb5maTFmup/s1600/Netherlands.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
      <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Russian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cru&hl=en'); return false;"><img alt="Russian" border="0" align="absbottom" title="Russian" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-LbsvV4KUheQ4dYNzwL08WS_qLrsz16TFoqE6aBtkUNRVtPkXkw2J9521xED7QN5jNOo65-bA0PpnOWE01oyJJS8fovzsqI_Um4Ixcju5S5lPo1hyphenhyphenjVAGa6zE0ljOr3PRHh4BTs6-WdT6/s1600/Russian+Federation.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Portuguese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cpt&hl=en'); return false;"><img alt="Portuguese" border="0" align="absbottom" title="Portuguese" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIDq-CczLM27GS7TDXlyxp4y0OY8bmn-Wat4QTTPILeBwz77qUQ-YGI0cYIqn2KYgHcNy7f101LurE3TLrsMSiiF13USL2lfXf5hT9I11qC_SA88FvYj2lUOeP8pv7hqhZalBDphnMn9wZ/s1600/Brazil.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<br />
 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Japanese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cja&hl=en'); return false;"><img alt="Japanese" border="0" align="absbottom" title="Japanese" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4foIpLYQJM5xH0nXRUviYloXoZhExOoK9DK9TDeXAjZx5Pe2SbuO2OWMhV8Gsu6hZkdcWGTP4C3zeECUMW_obwlwHUEXbBrqrJs-lxGnUC54rPdQ8-O-ac2Sm1NviuevrwIgM9aTEJHG-/s1600/Japan.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Korean" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cko&hl=en'); return false;"><img alt="Korean" border="0" align="absbottom" title="Korean" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDIAZTWDilChla1S7pWA8i4nNYtOzpeFx3QASntS0d_5T48nuU3MJOFL6H-HdsgSpUWT6xxYXMlp8-zQ0bXVj_dibHARiuVjp6ajbmpcerBaHdEObld56XD4m6-uscte6XJ3YbVLZnb_Ha/s1600/South+Korea.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Arabic" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7car&hl=en'); return false;"><img alt="Arabic" border="0" align="absbottom" title="Arabic" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsdRV3p0gZJCLPx58SnB7T_8milelgikCqhPQLpDB2AAj9QrjE_mAKNng-Y2J-UJFx49RImWsYnpxby8UI8FuIMvNdN55aC4F7bbl74wGgY1kLXXwQU21Kljv1ORrJjONyJlhJvkrdimP1/s1600/Saudi+Arabia.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

 <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Chinese Simplified" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7czh-cn&hl=en'); return false;"><img alt="Chinese Simplified" border="0" align="absbottom" title="Chinese Simplified" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZVn0JhFyzlxMoF6hN0xVt93Qc88BnGvEy5JGCYdwXO3X9TxThJ9Y8mBy_Cinx1f-IYOyE7-FjBzdDCto7OPEj21RdHTv7WokLFXqds60tE7Jt-hVA9DLfE8lfHBj02ZO4_zoE9xBajBgQ/s1600/China.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
    <p><a href="#" id="example-hide" class="hideLink"
    onclick="showHide('example');return false;">Hide / </a><a href="http://helplogger.blogspot.com"><font size="1px">Get this widget</font></a></p>
</div>
     </div>

Then click on Save

Enjoy (:

Simple Recent Posts Widget for Blogger/Blogspot

This Recent Posts widget will show not only post titles but also post excerpts or snippets on your blog.

What you can do with this widget:
  • display post titles only
  • change the number of posts
  • change the number of characters of the post snippet/excerpt
  • show the post dates
See the screenshot below:

How to add Recent Posts Widget to Blogger

1. Log in to your Blogger Dashboard >> go to Design >> Add a Gadget >> choose HTML/JavaScript
2. Choose & Copy the code of one of the options below and paste it into the new HTML/JavaScript:

Option 1: Recent posts widget with snippets

<div id="hlrpsa">
<script src="http://helplogger.googlecode.com/svn/trunk/recent-posts-with-snippets.js">
</script>
<script>
var numposts = 5;var showpostdate = false;var showpostsummary = true;var numchars = 100;var standardstyling = true;
</script>
<script src="http://your-blog.blogspot.com/feeds/posts/default?orderby=published&amp;alt=json-in-script&amp;callback=showrecentposts">
</script></div>
<div id="rpdr" style="font-family: arial, sans-serif; font-size: 9px;">
<a href="http://helplogger.blogspot.com/2012/04/recent-posts-widget-for-bloggerblogspot.html" target="_blank" title="Grab this Recent Posts Widget">Recent Posts Widget</a> by <a href="http://helplogger.blogspot.com" title="Recent Posts Widget">Helplogger</a></div>
<noscript>Your browser does not support JavaScript!</noscript>
<style type="text/css">
#rpdr {background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhG8-ZEmcxJkfTtSITJJZTD76KRrXgzUyGvWcZEDDU_BAPvXQpRY_ZU5nsrlPDQIWE7IdFuuXBM2nWMh8HLY7SD39zu9Y_833hNpROZhe78-z6U7bcc6DBllgzLhTveF-AD6JL9ipaBoTBU/s1600/blogger.png) 0px 0px no-repeat; padding: 1px 0px 0px 19px; height:14px; margin: 5px 0px 0px 0px;line-height:14px;}
#rpdr, #rpdr a {color:#808080;}
#hlrpsa { border-bottom:1px #cccccc dotted; margin-top:-10px; padding-bottom:10px;}
.hlrps a {font-weight:bold; }
.hlrpssumm {}
</style>

Option 2: Recent Posts Widget Showing Post Titles Only

<div id="hlrpsb">
<script style="text/javascript" src="http://helplogger.googlecode.com/svn/trunk/recent-posts-with-titles-only.js"></script>
<script style="text/javascript">var numposts = 10;var showpostdate = false;var showpostsummary = false;var numchars = 100;var standardstyling = true;</script>
<script src="http://your-blog.blogspot.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=showrecentposts"></script></div>
<div style="font-family: arial, sans-serif; font-size: 9px;" id="rpdr"><a href="http://helplogger.blogspot.com/2012/04/recent-posts-widget-for-bloggerblogspot.html" title="Grab this Recent Posts Widget" target="_blank">Recent Posts Widget</a> by <a href="http://helplogger.blogspot.com" title="Recent Posts Widget">Helplogger</a></div><noscript>Oops! Make sure JavaScript is enabled in your browser.</noscript>
<style type=text/css>
#rpdr {background: url( https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhG8-ZEmcxJkfTtSITJJZTD76KRrXgzUyGvWcZEDDU_BAPvXQpRY_ZU5nsrlPDQIWE7IdFuuXBM2nWMh8HLY7SD39zu9Y_833hNpROZhe78-z6U7bcc6DBllgzLhTveF-AD6JL9ipaBoTBU/s1600/blogger.png ) 0px 0px no-repeat; padding: 1px 0px 0px 19px; height:14px; margin: 5px 0px 0px 0px;line-height:14px;}
#rpdr, #rpdr a {color:#808080;}
#hlrpsb { }
.bbrecpost2 {
padding-top:6px;
padding-bottom:6px;
border-bottom: 1px #cccccc dotted; }
</style>

3. Change 5 (option 1) and 10 (option 2) with the number of posts you want to show. Change false to true if you want the posts dates to appear, and change 100 (option 1) if you want more characters to be displayed.
Don't forget to change your-blog text with the name of your blog or if you have a custom domain change all the bolded line with your address like in this example:
http://www.your-site.com/feeds/posts/default....

4. Save your widget. That's it!! Enjoy

Please let me know what you think of this widget by leaving a comment below.
And if you liked this post, please consider sharing it. Thanks!