[Support request] "Read More" doesn't work in sections?

Home Forums Support "Read More" doesn't work in sections?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #267417
    Brian

    Hi,

    Should the standard “Read More” tag work in sections? (Didn’t work for me.)

    If not, recommend any alternatives? I just tried popular plugin “collapse-o-matic”, which worked, but after clicking two up arrows appear instead of one.

    There support forum says:
    “This is a css issue from your theme’s span definition.
    try change the default tag from span to div
    or use the tag attribute: tag=”div” ”
    REF

    But I haven’t wanted to try changing or adding any css yet. (A newbie.)

    Recommendations?

    #267418
    Brian

    By the way, I wasn’t sure if this doc said “for your posts on the index pages (archive, category, tags etc.)” because that is the only place it works or because that is the most common use.

    https://docs.generatepress.com/article/using-the-more-tag/

    #267518
    Leo
    Staff
    Customer Support

    Hi Brian,

    Yes the read more tag can only be used on index pages as it’s used to manually control excerpt for blog page.

    So I assume you have lots of (non-blog) contents in each section and you don’t want to show it all at once and use the read more button like the blog? This could be a little tricky…

    #267550
    Brian

    Yes. Some notes that I want to be able to show/hide. It’s not critical because that probably won’t be a longstanding feature, but does the “collapse-o-matic” support comment make sense and reasonable to do?

    There support forum says:
    “This is a css issue from your theme’s span definition.
    try change the default tag from span to div
    or use the tag attribute: tag=”div” ”
    REF

    #267561
    Leo
    Staff
    Customer Support

    I’m not familiar with the plugin but perhaps give it a shot if it works for another user with the same problem?

    As far as I understand, I wouldn’t say the issue is from the theme either since according to the post you linked, the user is using twenty fourteen which is the most generic WordPress theme and it wouldn’t define <div> or <span> different than how it normally should be done.

    #267582
    Tom
    Lead Developer
    Lead Developer

    GP doesn’t really do anything to <span> tags, so that’s strange.

    Have you tried switching it to a div like the author suggested?

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