Head & Footer Code FAQ


Is supported PHP code in code snippets?

As it’s a security risk, the Head & Footer Code does not process PHP code if entered into any plugin field (global or article specific). Any content added to HFC fields is printed on the front-end as is.

I entered code to BODY section, but nothing outputs on front-end

This feature is implemented since WordPress version 5.2 and requires theme compatibility.

To make sure if the theme you use supports the wp_body_open hook, open in code editor header.php file from the theme you use, and check if right after opening tag there is the following code (if it does not exists, add it or ask some developer to do that for you):

Back to Head & Footer Code page