• Resolved kamhang

    (@kamhang)


    Hi,

    1.I use in wpbakery classic mode, it works
    2.I use in woocommerce product description, it works
    3.When i use two shortcodes one after the other, such as
    [include-page id=”123″]
    [include-page id=”124″]
    Each shortcode added paragraph tag <p></p>in web page.
    How can i change paragraph tag <p> to line break <br>

    • This topic was modified 4 years, 6 months ago by kamhang.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Marios Alexandrou

    (@marios-alexandrou)

    Have you tried putting the shortcodes on a single line?

    Thread Starter kamhang

    (@kamhang)

    Hi,

    Case 1:
    [include-page id=”123″]
    [include-page id=”124″]
    Case 1 result:
    …</p> <br /> <p>….<p>

    Case 2:
    [include-page id=”123″] [include-page id=”124″]
    …</p> <p>….<p>

    paragraph tag looks like a default tag

    • This reply was modified 4 years, 6 months ago by kamhang.
    Plugin Author Marios Alexandrou

    (@marios-alexandrou)

    I think what you’re seeing is WordPress automatically adding p tags to content. I did a Google Search for “wordpress adds p tags” and it looks like there are many people looking to change this behavior.

    Thread Starter kamhang

    (@kamhang)

    Hi,

    I got it.
    Thanks for your reply.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘tag’ is closed to new replies.