Forums

Post recent news with date and month styled on a page (1 post)

  1. owenpiccirillo
    Member
    Posted 9 months ago #

    Check out
    http://templatic.com/demos/hospitality/

    On the bottom left, there is a list of posts, with a date and month. I know how to style it. I just do not know how to echo out the post with the date and month.

    <ul><?php wp_get_archives('type=postbypost&limit=5'); ?></ul>

    This currently works.. and it will show this.

    <li><a href='#' title='Example Post 5'>Example Post 5</a></li>

    Am I using the wrong code in general? How do I add to that php code to make it look like this

    <li><span>3 <small>June</s> </small> </span><a href='#' title='Example Post 5'>Example Post 5</a></li>

    With the correct date tied to the post title?

    Thanks in advanced
    -O

Reply

You must log in to post.

About this Topic

  • RSS feed for this topic
  • Started 9 months ago by owenpiccirillo
  • This topic is not resolved
  • WordPress version: 3.2.1

Tags