WordPress.org

Support

Support » Plugins and Hacks » [Plugin: List category posts] How to show date before list

[Plugin: List category posts] How to show date before list

Viewing 3 replies - 1 through 3 (of 3 total)
  • jircas
    Member

    @leifang

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

    Neoqueenhoneybee
    Participant

    @neoqueenhoneybee

    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.

    linjian001
    Participant

    @linjian001

    yes! i see.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: List category posts] How to show date before list’ is closed to new replies.