1. Home
  2. Docs
  3. Troubleshooting
  4. Rule #3: Your theme needs to call wp_footer()

Rule #3: Your theme needs to call wp_footer()

Note: this error is unlikely, unless if you are using a custom theme, coded by an inexperienced developer.

Check if your theme is calling the wp_footer() function. Typically this function will be called in your theme’s footer.php file.

The conditional fields javascript code is loaded during wp_footer, so a call to this function is crucial. If there is no such call in your theme, go to your theme’s footer.php file and add this code right before the closing </body> tag:

<?php wp_footer(); ?>
Was this article helpful to you? Yes No 1

How can we help?