WordPress.org

Ready to get started?Download WordPress

Forums

List category posts
How to show date before list (4 posts)

  1. cvetkoff
    Member
    Posted 2 years ago #

    How to show date before list?
    example 09.04.2012 - this code [catlist catlink=yes id=3 date=yes date_tag=span date_class=lcp_date]

    09.04.2012 example - ?

    Thank you!

    http://wordpress.org/extend/plugins/list-category-posts/

  2. jircas
    Member
    Posted 2 years ago #

    hi,
    if you use [catlist catlink=yes id=3 date=yes date_tag=span date_class=lcp_date], you cannot show date before list.
    but you can change plugins/list-category-posts/template/default.php.
    just move
    //Show date:
    $lcp_display_output .= $this->get_date($single).' ' ;
    before
    //Show the title and link to the post:
    $lcp_display_output .= $this->get_post_title($single);

    You also create your template, see "Other Notes".

  3. Neoqueenhoneybee
    Member
    Posted 1 year ago #

    I am trying to do the same thing
    [catlist id=12 date=yes orderby=date numberposts=-1 dateformat=Y/m/d].

    I moved
    //Show date:
    $lcp_display_output .= $this->get_date($single).' ' ;
    before
    //Show the title and link to the post:
    $lcp_display_output .= $this->get_post_title($single);

    and nothing has changed.

  4. linjian001
    Member
    Posted 1 year ago #

    yes! i see.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic