date badges

  • Author
  • #366811

    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.


    I’m using the Cutline template


    If the div’s are erased, then that means that whatever was in that div is not supported here.

    Paste the code here between backticks (the key to the left of the #1 with the ~ on it) and we can take a look.


    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>~ is my blog

    this is the website I found the div at


    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: .

The topic ‘date badges’ is closed to new replies.