Events template producing loads of p and br tags.
-
Hi,
I’ve been working with the events manager plugin for the last few days and it’s working great so far! However on my Events landing page, I have the search form and events being listed.
I wanted to style my form a little bit, however I’ve noticed there are LOADS of <p> and
tags everywhere in the search form output.I have tried to add the following code to remove the likes of wpautop, but these are not working at all.
remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' ); remove_filter('the_content', 'theme_formatter', 99);
I’ve tried adding them to the top of my functions.php, the bottom, adding them in 1 by 1 etc. No luck in getting rid of these p and br tags.
Any guidance is appreciated. Thanks guys!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Events template producing loads of p and br tags.’ is closed to new replies.