The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
290 views

Raw output (preventing wpautop)

Using WordPress 3.5. I'm trying to put a <form> into a Page of a WP-based site. Unfortunately, WP is "helpfully" screwing up the formatting of the form by inserting <br> and <p> ...
0
votes
1answer
145 views

<p> tag breaks shortcode output (other solutions don't work)

I just encountered weird problem. My shortcode output which is something like '<span class="link_container"><a href="#">'.$content.'</a></span> <div ...
0
votes
1answer
70 views

How do I format my custom html so wpautop won't try to reformat it?

I've got a desktop app that generates html for my customers to paste into their WP pages/posts. Nothing fancy just some image tags, hyperlinks and simple inline css. How do I preformat that code so ...
0
votes
1answer
838 views

Replacing &#038; in JS code on pages

I am needing to remove the &#038; that seems to be replacing my & on my page code. My original code looked like this: ...
0
votes
1answer
501 views

Wpautop stops working after get_the_excerpt

function pre_process_shortcode($content){ global $shortcode_tags, $shortcodes; // Backup current registered shortcodes and clear them all out ...
0
votes
1answer
127 views

Remove some tags from shortcodes output? Trying to fix autop

remove_filter( 'the_content', 'wpautop' ); add_filter( 'the_content', 'wpautop' , 99 ); add_filter( 'the_content', 'shortcode_unautop', 100 ); Work for almost all my shortcodes excluding one that ...
1
vote
0answers
22 views

New method to disable wpautop after WP 4.3?

After WordPress 4.3, the old method of disabling wpautop no longer works. Has anyone discovered a new method for removing this function? remove_filter( 'the_content', 'wpautop', 99 ); remove_filter( ...
1
vote
0answers
258 views

Wordpress editor strips out anchor tags when they appear on their own line

In the text below, when I toggle the WYSIWYG view from Visual to Text, the anchors are left intact. However, when I switch back to Visual, the anchors are replaced with &nbsp; elements. This is ...
1
vote
0answers
109 views

TinyMCE strips breaks inside editor

the posts are shown correctly in the frontend. But when i go to edit, the content inside tinyMCE is without breaks ?! So i have to copy my content from frontend and paste it to the editor every time i ...
1
vote
0answers
107 views

Make WP not format code, not insert line breaks in between tags

Gahhhh! Are you kidding? Ok, I guess wp wants my source code all nice and formatted... <a href="/asdf">i'm a link</a><ul><li>list item</li></ul> becomes ...
0
votes
0answers
9 views

Disable wpautop from individual output of metabox

This is my code: <?php $desc = rwmb_meta('_tb_herocontent_wysiwyg'); remove_filter ($desc, 'wpautop'); echo $desc; ?> But I'm still receiving the <p> tags, any help would be greatly ...
0
votes
0answers
56 views

WP Auto-p adding unwanted <br> tag before <address> block

This is not a question on how to disable wpautop or remove its <br> insertion; just its behaviour in this specific circumstance. I have a bit of html that displays a fontawesome list with icons ...
0
votes
0answers
23 views

Cannot disable wpauto

I have tried everything to disable something adding multiple paragraph and break tags (up to 20 in a row) tags to a registration form. I first went into the event espresso files for this plugin and ...
0
votes
0answers
74 views

wpautop and br in avada fusion builder editor

there is a visual editor in avada fusion builder element. I want the following behaviour: Stop to remove my br tags Stop to add the p tag around my text content The wpautop plugin don't work. ...
0
votes
0answers
51 views

Inline style appears in the editor but breaks on live site

So there is a page with: <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php $desc= str_ireplace('"', '', trim(get_the_content())); ?> <?php ...
0
votes
0answers
104 views

get wpautop to not wrap tags but only text

Is it possible for wpautop to only wrap plain text, so that e.g. here: text <a href="">link</a> only the "text" gets wrapped. Why would you want to wrap tags anyway? Maybe anyone has a ...