WordPress.org

Ready to get started?Download WordPress

Forums

List category posts
How to insert separators (hyphen, dash, colon, etc) between tags? (4 posts)

  1. mbzo2006
    Member
    Posted 1 year ago #

    [catlist name=geral numberposts=2 excerpt=yes excerpt_size=30 title_tag=h5 date=yes date_tag=span date_class=lcp_date]

    The above example gives me a headline (h5) and on the next line is the date followed by the excerpt.

    A headline goes here
    dateExcerpt begins here

    How to add a separator between the date and excerpt?

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

  2. chema1311
    Member
    Posted 8 months ago #

    I have the same question!!!

  3. Meanski
    Member
    Posted 8 months ago #

    You can another template and edit the output there? Probably the best bet :-)

  4. fernandobt
    Member
    Plugin Author

    Posted 8 months ago #

    I think the best way is via CSS:

    You can add a padding-right to the lcp_date class.

    You can add a character separator, like a "-" or similar, you can use CSS this on your stylesheet:

    .lcp_date:after{
      content: " - ";
    }

    Or maybe wrap the excerpt with a p tag with excerpt_tag=p (that would put the excerpt on a different line).

    Hope this works for you!
    Regards,

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.