why are php tags being commented out?

why are php tags being commented out?

by Robby Schanilec -
Number of replies: 1

I have "<?php inlude 'file.php'; ?>" in the "When BODY is opened" in "Additional HTML".  The problem is when I inspect page in browser the php is being commented out.  is there some way I can turn this off or some work-around so that i can call external files?  Thanks

Average of ratings: -
In reply to Robby Schanilec

Re: why are php tags being commented out?

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Probably because php isn't HTML and the section is for 'Additional HTML'

I guess the alternative would probably be to use some javascript to load the additional file?

Average of ratings: Useful (1)