Archived topic
Calling the right function to include the entire WP Head
1 reply · Started by culpable on January 19, 2019
Hiya
Using a hook element for wp_head, I understand that the "Entire Site" display rule only refers to wordpress pages – and not custom coded PHP pages.
In my custom coded PHP page, I'm currently using the:
<?php get_header();?>
Function to get the WordPress header. Although this contains the site logo/narbar/search functionality, it does not include the other goodies that I've added via elements.
Instead of me hard-coding these into the PHP files myself, is there a way for me to call a particular function that will include "the entire" PHP head? Including the stuff I put into wp_head via an element hook?
Thank you very much for your help!
Hi there,
Have you tried adding <?php wp_head(); ?> into your custom file?
Let me know :)