How to Make The Blogger Posts Have A Calendar For the Date In

Hello and Welcome to GetWebInfo. Here on this post i will tell you that How to Make The Blogger Posts Have A Calendar For the Date In. It's quite common to see calendr style dates next too some WordPress posts but for the Blogger platform it isn't always easy adding it. But who said you can't do it? You need to look no further than this blog.

How to Make The Blogger Posts Have A Calendar For the Date In


How to Create Calendar Style Dates in Blogger


Step 01: Go To "Setting"> Language and Formatting" - "Date Header Formate" and change the date formate as you can see in this example below ( First add Day, Month and Finally Year)..



Step 02: Go To Template > Click the "Edit HTML" Button



Step 03: Click Anywhere inside the code area and press CTRL + F to open the blogger search box.

Step 04: Type or Past the following line inside the search box and hit Enter to Find it Out.

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

Step 05: In case you find it twice, replace it twice with this code

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

Step 06: Now type this Tag inside the search box and hit Enter to find it

</head>
Step 07: Just Above the </head> tag, paste this code

<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(http://1.bp.blogspot.com/-NVj6tUKJgLo/UBShW2dCLSI/AAAAAAAACZk/3TkTa8Hzqt0/s1600/calendar07.png) no-repeat;
display: block;
width:60px;
height:60px;
float: left;
margin: 15px 2px -40px -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>
Step 08: Now preview you template and make sure everything looks ok, hit the Save Template Button.

You can all don now. I hope this article is really help for you if you like this article so please share it to your social media account thanks.