Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Fernando Briano

    (@fernandobt)

    Check out this parameter:

    dateformat – Format of the date output. The default format is the one you’ve set on your WordPress settings. Example: [catlist id=42 dateformat="l F dS, Y"] would display the date as “Monday January 21st, 2013”. Check http://codex.wordpress.org/Formatting_Date_and_Time for more options to display date.

    For more customization you’ll probably need to build a template.

    Thread Starter pcfalanga

    (@pcfalanga)

    where do I activate date?
    But default date=OFF, correct?

    Thread Starter pcfalanga

    (@pcfalanga)

    I got, thanks. i activated.

    Thread Starter pcfalanga

    (@pcfalanga)

    one more thing, the date is at the end, how do I put in front? Example: DATE – TITLE?
    The code I’m using: “[catlist name=chakal dateformat”d/m/Y”]”

    Plugin Author Fernando Briano

    (@fernandobt)

    To change the order of the date and post title, you should use a template. Use the default.php file as an example and put the date before the title there.

    This line:

    //Show date:
      $lcp_display_output .= ' ' . $this->get_date($single);

    Should be before this line:

    //Show the title and link to the post:
      $lcp_display_output .= $this->get_post_title($single);

    Look for the template parameter in the documentation to read more about this.

    Thread Starter pcfalanga

    (@pcfalanga)

    I changed, but the date is not in the beginning is the end …

    Thread Starter pcfalanga

    (@pcfalanga)

    I copied the line “$ lcp_display_output = ‘$ this-> get_date ($ single);..” for before the line “$ lcp_display_output = $ this-> get_post_title ($ single);”

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘title format’ is closed to new replies.