included PHP file adds tags in random places
-
Included php file results in extra <p> tags in random places through out the code. Resulting in unexpected design flaws.
Do you have an idea how can i get rid of the unwanted tags
I tried the following plugins and some other solutions with no success.
Disabling Filters
Disable wpautop Plugin
Raw HTML
wpautop controlHere is my WP page that calls a php which does most of the work.
[insert_php]
require_once(“app_admin/court_types.php”);
[/insert_php]The generated code supposed to look like this
<div id="administrationContainer"> <div id="adminContent"> <div id="adminPageTitleContainer"> <div id="adminPageTitle"> <h1>Court Types Management</h1> </div><!-- endof adminPageTitle --> </div><!-- endof adminPageTitleContainer --> <div id="adminPageContent"> </div><!-- endof administrationContainer -->
instead it look like this. (Extra <p> tags).
<div id="administrationContainer"> <div id="adminContent"> <div id="adminPageTitleContainer"> <div id="adminPageTitle"> <h1>Court Types Management</h1> </p></div> <p><!-- endof adminPageTitle --> </div> <p><!-- endof adminPageTitleContainer --></p> </div>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘included PHP file adds tags in random places’ is closed to new replies.