Tagged: breaks
Hi guys,
I am having a problem adding in html content into the text-block elements. I am basically cutting code I created in dreamweaver and pasting it into a text-block.
There seems to be opening <p> tags being inserted and also <br/> tags. I have attempted to place
remove_filter( ‘the_content’, ‘wpautop’ );
remove_filter( ‘the_excerpt’, ‘wpautop’ );
Info the functions file to mend the situation but not effect. I don’t really want to use a css hack to fix this and want a good solution.
I read on the forms people with similar problems but I have no success using they’re method. I dont have any plugins running am using wordpress 3.9 and the latest Enfold update.
Please help with a solution.
Hey paic!
Thank you for using the theme!
The text blocks should not automatically generate <p> and <br> tags because of the function avia_remove_autop which disables the nesting of <p> and <br> tags. If you don’t mind, we would like to see the actual website. Please post a sample code that you’re using, we’ll test it on our end. Thanks!
Best regards,
Ismael
Hi!
Please try to insert your raw html code into a “Code Block” element: http://www.clipular.com/c/5557392242638848.png?k=MGkPezUD6nRDFfJAsmmuNwOXJVw
This element will make sure that no additional styling/tags is added to your html code.
Best regards,
Peter