The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
29 views

disable wpautop but keep line breaks

How can I disable automatic paragraph tags, but retain line breaks? I have used this to remove wpautop: remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' ); But ...
0
votes
1answer
46 views

Replacing & in JS code on pages

I am needing to remove the & that seems to be replacing my & on my page code. My original code looked like this: ...
0
votes
1answer
106 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
65 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 ...
0
votes
1answer
79 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
0answers
28 views

Shortcode returns parts of the code twice?

I have a shortcode that lists custom type posts, like: while ( $loop->have_posts() ) : $loop->the_post(); $output .= '<a href="#">'; $output .= '<div><img ...