• Resolved gormgrumm

    (@gormgrumm)


    Hello,
    For some reason it seems that extra lines (p-tags) are added to the content being collapsed. I’m not knowledgeable enough in js to pinpoint (in the plugin-editor) where the issue may arise from.
    When clicking on the “produkte ausw?hlen” on the site, you can see the spacing between content with white backhround.
    Am I overlooking something?

    Without the plugin activated, everything is fine – no extra lines/p-tags.

    I’m using Woocommerce & Storefront, the collapsable content is Woof Product Filter.

    Thanks and Best Regards,
    Ryan

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author twinpictures

    (@twinpictures)

    Common issue that is caused by the wpautop filter bein missued by a plugin or theme.
    What you can try: instead of writing the shortcode with spaces like so.

    [expand title="trigger"]
    Hidden Content
    [/expand]
    

    Do not include the line breaks between the shortcode content:

    [expand title="trigger"]Hidden Content[/expand]
    

    Give that a try and let us know how it goes.

    Thread Starter gormgrumm

    (@gormgrumm)

    Hi,
    I’m using the Block editor, but the solution to put all the shortcode within the same block, without spaces/line breaks, worked.

    Thanks for the fast reply!

    /Ryan

    Thread Starter gormgrumm

    (@gormgrumm)

    Edit – solved

    Plugin Author twinpictures

    (@twinpictures)

    Moin @gormgrumm! – glad you got it working, and thank you for marking the issue as resolved.

    wenn du mit unser plugin oder support zufrieden bist, vielleicht ein kleine bewertung hinterlassen — wenn schon denn schon, oder?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘p tags added to collapsable content’ is closed to new replies.