The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
465 views

Possible to disable autop temporarily?

If I disable autop entirely, I need to add <p> everywhere I want a paragraph. Is it possibe to disable autop temporarily? Like in a shortcode
0
votes
1answer
650 views

WordPress wpautop/shortcode generating invalid markup

I notice that theres invalid markup in my shortcode. Its ok if I disable wpautop tho function shortcode_banner($attrs, $content = '') { echo ' --- ' . $content . ' --- '; $html = '<section ...
2
votes
3answers
2k views

Creating a table from shortcode avoiding wpautop for each row

I'm probably doing this all wrong, and there'll be a much simpler solution. Basically, I'm trying to build a table of tour dates that'll be editable by someone with little technical knowledge, but can ...
3
votes
2answers
2k views

Add filter 'wpautop' to meta box textarea

I'm using -this tutorial- to add simple meta boxes to a custom post type. But the textarea meta boxes are spitting out content all as one big paragraph, with no <p> formatting applied. What ...
0
votes
1answer
364 views

Formatting <code>?

I have serious trouble displaying code blocks in my theme. I want to display something like: <something> <something-else> Content </something-else> ...
16
votes
6answers
23k views

remove empty paragraphs from the_content?

Hey guys, I simply want to prevent the creation of empty paragraphs in my wordpress post. That happens quite often when trying to manually space content. I don't know why this doesn't take effect? ...
2
votes
3answers
862 views

Is there un-wp_autop function?

I have a problem with WP that need your help. Some of my posts have content that was applied "wp_autop" filters already. This filter turned all double break lines into <p> tag. I want to the ...