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

    (@fernandobt)

    You can use the excerpt option for this anyway:

    If you don’t have an excerpt in your post, the plugin will fetch this text from the content, striping its images, shortcodes and HTML tags. The limit is set by the excerpt_size parameter (55 words by default). If you want the automatically generated excerpt to respect your theme’s allowed HTML tags, you should use excerpt_strip=no. If the post has an excerpt, the HTML tags are automatically stripped. If you want to overwrite the post’s excerpt with an automatically generated one (may be usefull to allow HTML tags), use excerpt_overwrite=yes. I added this last parameter to have consistency across excerpts.

    excerpt_size – Set the number of words to display from the excerpt. Default is 55. Eg: excerpt_size=30

    Let me know if this helps!

    Cheers,

    Thread Starter bibliata

    (@bibliata)

    Thank you for the fast response. Sthorcode used is:
    [catlist id=568 numberposts=25 pagination=no orderby=modified order=desc thumbnail=yes thumbnail_size=32,32 excerpt_size=30]

    Also, how do we align the thumb to the left
    and is there option to show all posts in cat. like
    numberposts= -0 or sth. similar?
    Thanks

    Plugin Author Fernando Briano

    (@fernandobt)

    Yes, please read the documentation. Most of your questions are answered there and in the FAQ.

    You need to add excerpt=yes to that shortcode so that you can display the excerpt.

    Thread Starter bibliata

    (@bibliata)

    Thanks. That did it.
    Did you mean the custom class for the thumb align
    or there’s a short-code for that I am missing?
    Thanks!

    Problem I’ve seen is that the LCP plug does not preserve HTML tags in excerpt, where as the default WordPress action keeps these tags in excerpt.

    Thread Starter bibliata

    (@bibliata)

    In all fairness this is one of the best cat list plugins that actually works. The set of shortcode is abundant. The only thing I have not been able to do is to get it to recognize my template’s CSS, which should be fairly simple:
    1. align the thumb to the left
    2. style the title with <H1>
    3. add [Read more] after the shown excerpt

    Any help with that will be appreciated.
    Thanks!

    Plugin Author Fernando Briano

    (@fernandobt)

    Sogwap: Please open a new topic for this issue. I’ll check it out anyway.

    bibliata: To align the thumbnails check out the link to the FAQ. It explains a way to do exactly that.

    To wrap the title with an h1 tag, you have to use: title_tag=h1.

    And finally to add a read more after the excerpt you need to use posts_morelink="[Read More]".

    As I mentioned before, all of this is documented.

    Thanks!

    Thread Starter bibliata

    (@bibliata)

    Thank you kindly for your help!

    For future reference, however, when custom thumbs are used they should be coded with .attachment-70×70.wp-post-image

    instead of: .lcp_thumbnail

    At least this is what worked in our case.
    Thanks for a great plugin!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘content_limit short code option?’ is closed to new replies.