autop issue

While adding shortcodes,  We expect the result to be inline to that content,

But in some cases we find that WordPress adds autop to the previous content. so the shortcode output will display in new line.

to fix this issue for shortcodes, add inline_issue attribute


this attribute will make the previous shortcode content with “p” tag will display as inline content.

[chat style=2 inline_issue="true"]

autop means adding new p tag, i..e making that content as a paragraph. By default , for “p” tag display is block. so the next content will display in next line

To display shortcode output in a new line, add shortcode in new line.