Wp calender Stamp

function calendar (){ ?>
<div>
<div><?php the_time(‘M’) ?></div>
<div><?php the_time(‘j’) ?></div>
<div><?php //the_time(‘Y’) ?></div>
</div>
<?php
}
//add_action(‘thesis_hook_before_headline’, ‘calendar’);

/*** calendaricon ***/
.calendaricon{
background:url(images/date-stamp-bg.jpg) no-repeat top left;
position:relative;
width:45px;
height:49px;
float:left;
margin-right:10px;
}
.month{
position:absolute;
font:11px Arial, Helvetica, sans-serif;
color:#FFFFFF;
text-align:center;
width:100%;
top:4px;
}
.day{
position:absolute;
font:bold 19px Georgia, “Times New Roman”, Times, serif;
color:#000000;
text-align:center;
width:100%;
top:20px;
}
/*** calendaricon ***/

Leave a Reply

© 2020 Spirituality