Header.php and footer.php question

Hello,

I was having a problem with bonfire pageloader plugin not consistently preloading. After reaching out to bonfire, he suggested that the wp_head and wp_footer tags might not exist on some of my pages. When peeking into the editor header.php and footer.php they don’t seem to exist. But before I add the tags, I wanted to be sure that I am not missing something. I guess I kind of assume that the pro theme would have already provided those tags? I know they are necessary but I haven’t had any experience with that yet…

Thanks for your help,

Mark

Hello There,

Thanks for writing in! We do have wp_head() and wp_footer() in the header.php and footer.php files. You just cannot see it there because we have a different template break down in our theme. What seems to be the issue with your bonfire plugin? Would you mind providing the url of your site so that we can check it?

Regards.

Yes, the page loader isn’t consistently loading from page to page. It loads most consistently on front page. Other pages not at all (for the most part). Sometimes it seems to partially load? The url is anthonyporterbasketball.com

Thanks,

Mark

Hey Mark,

Your loader shows up in all of your pages upon testing.

Regretfully, investigating this further is outside the scope of our support as this involves a third party plugin which loads intermittently which means it works so there is no problem with the files or WP tags.

I just want to add in here that the header.php contains this code <?php x_get_view( 'header', 'base' ); ?>

What it does is it gets view/header/base.php which contains the wp_head().

Pro adheres to modern WordPress development best practices.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.