[Support request] Limit full post length vs excerpt

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Limit full post length vs excerpt

This topic contains 3 replies, has 2 voices, and was last updated by  Tom 1 week, 2 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14048

    Tim
    Participant

    Wondering if it’s possible to use the full post with a word/character limit vs the excerpt content. (possibly a feature request)
    I have a situation where I’d like to preserve the post format (style, paragraph breaks). Currently experimenting with the Carousel text only layout.

    Similar controls that a featured post widget (such as genesis) have.

    Thanks in advance
    -tim

    #14054

    Tom
    Keymaster

    Hi there,

    Have you looked into using the More Tag? It does require manual insertion, though.

    There is a filter, but you’d need to add some conditional checks to make sure it only applies on specific pages: https://stackoverflow.com/a/10173268/2391422

    #14064

    Tim
    Participant

    That looks interesting (maybe a little out of mine coding ability) but I’ll take a swing.

    So ideally I would need to target one instance of wp show posts on the home page. Current layout has two.

    Would that mean I’m trying to perform a check/filter on the wpsp output? Can this be done by id like css mods?

    Thanks again, appreciate the input
    -tim

    #14081

    Tom
    Keymaster

    Ah, there’s no way to target a specific list with the_content filter – it applies to all the_content() functions on the page.

    If there was only one, then it would work with a is_page() condition (so it doesn’t apply to the entire site).

    If there are multiple, you might be stuck with the More Tag option.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.