date badges
-
I want to add a date badge to my blog that would appear the the left of my posts rather than as a line below the title of my post. I’ve found several websites suggesting ways to this that all involve adding a <DIV> element to the markup, but WordPress just erases html I add. Any ideas? I want to use a small simple image in the badge as well.
-
-
And, we will need a link to the blog. The site linked to your username is a blogspot blog.
-
~<div class=”entryDate”>
<span class=”postMonth”><?php the_time(‘M’) ?></span>
<span class=”postDay”><?php the_time(‘d’) ?></span>
<span class=”postYear”><?php the_time(‘Y’) ?></span>
</div>~noggblog.com is my blog
this is the website I found the div at http://oncemade.com/2009/04/26/create-date-badge-with-wordpress-and-css/
-
Those contain PHP script calls and PHP script is not allowed at wordpress.COM. It is – or can be – a serious security issue. This support document explains what code is and is not allowed at wordpress.COM: http://support.wordpress.com/code/ .
- The topic ‘date badges’ is closed to new replies.