[Resolved] Long descriptions on archive / category pages

Home Forums Support [Resolved] Long descriptions on archive / category pages

Home Forums Support Long descriptions on archive / category pages

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

    Hi guys.

    First of all thank you for a very awesome theme!

    I’m trying to find a way, to either add an expand functionality above the fold (eg. a “Read more…” button), to split the category description, or even add a second description area below the posts, as I want to have quite long (unique) category descriptions, but do not want to mess with the UX. Would that be possible somehow, without having to use a plugin?

    #2040439
    David
    Staff
    Customer Support

    Hi there,

    for the read more you would need to use some HTML/CSS like the example i provided here:

    https://generatepress.com/forums/topic/read-more-options-long-text-on-mobile/#post-1735163

    For displaying additional content below the post lists you can use a Block Element:

    https://docs.generatepress.com/article/block-element-overview/

    You can hook in after_main_content – see here:

    https://docs.generatepress.com/article/hooks-visual-guide/

    #2040524
    Niels

    Great, that’s exactly what I need!

    Thanks a bunch for your help David, it’s much appreciated.

    #2041012
    David
    Staff
    Customer Support

    Glad to hear that!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.