ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

show date on all entries?

September 29, 2009 8:50am

Subscribe [1]
  • #1 / Sep 29, 2009 8:50am

    flackend

    7 posts

    Hi,

    It appears that entries are grouped by date and that each date is only showed once. I would like each entry to have its post date. How can I do that?

    Thanks!

    {exp:weblog:entries weblog="{my_weblog}" orderby="date" sort="desc" limit="15" disable="member_data|trackbacks"}
    
    <h1>{title}</h1>    
    
    {date_heading}
    <span class="date">{entry_date format='  %m/%d/%y '}</span>
    {/date_heading}
  • #2 / Sep 29, 2009 8:57am

    Rob Allen

    3108 posts

    That’s easy - replace date_heading with the entry_date variable…

    {exp:weblog:entries weblog="{my_weblog}" orderby="date" 
    sort="desc" limit="15" disable="member_data|trackbacks"}
    <h1>{title}</h1>    
    <span class="date">{entry_date format="%Y %m %d"}</span>
    {/exp:weblog:entries
  • #3 / Sep 29, 2009 9:17am

    flackend

    7 posts

    Awesome, thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases