Disable adding scripts before tag
-
Hi,
I need to create a page template which would work as a XML export file. It must contain full content of the post within the <body> tags but WordPress always adds all scripts right before the </body> tag. If I change <body> to <test>, then it won’t add anything but for example if just add <body></body> (with no content inside), it will add the scripts too.
So it is possible to prevent WP from adding scripts to the end of </body> just for the one specific file/page template?
EDIT: Screens:
Code: https://cl.ly/VjUB (you can see there’s nothing in body)
Result: https://cl.ly/VippThanks,
Greenie
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Disable adding scripts before tag’ is closed to new replies.