Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

jqz on "Bad P elements added by shortcode processor??"

$
0
0

I am not sure how, as I've looked at the code in shortcodes.php and can't see how they could be creeping in.

I've eliminated and processed the unwanted P elements as indicated at http://wordpress.stackexchange.com/questions/49077/shortcode-from-a-widget-is-wrapped-in-unwanted-p-element/

But I am finding the content of the shortcode is often immediately prefixed by </p> and immdediately postfixed by <p>, which end up being unmatched tags and cause undesirable results.

What code is adding these tags, and how should I disable it?

Note1: If I do not follow the suggestions from the link above, there are still unmatched P tags, and the result is generally worse.

Note2: I am using nested shortcodes.


Viewing all articles
Browse latest Browse all 8245

Trending Articles