Need help? Check out our Support site, then


date badges

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

  2. I'm using the Cutline template

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

  4. And, we will need a link to the blog. The site linked to your username is a blogspot blog.

  5. ~<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/

  6. 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/ .

Topic Closed

This topic has been closed to new replies.

About this Topic