Support » Plugin: List category posts » How to insert separators (hyphen, dash, colon, etc) between tags?

  • Resolved mbzo2006

    (@mbzo2006)


    [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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same question!!!

    You can another template and edit the output there? Probably the best bet 🙂

    Plugin Author Fernando Briano

    (@fernandobt)

    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,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to insert separators (hyphen, dash, colon, etc) between tags?’ is closed to new replies.