D
D
daniel1432015-06-26 00:10:14
PHP
daniel143, 2015-06-26 00:10:14

Is wp_head() cached in a Wordpress theme?

Hello.
Help a novice front-end developer :).
Editing a Wordpress theme. I can't figure out where the caching is going on.
The theme has multiple pages with the same or similar header.php.
They, as expected, are written in.
<?php wp_head(); ?>
When I insert instead of wp_head () what Wordpress generates in this place, the
pages load normally and you can navigate through the menu items.
When using wp_head(), when I go through the menu items of the page, the browser does not reload the page, but the same one is displayed all the time.
At the same time, the content of the address bar changes correctly and in the Developer tools it can be seen that there are requests to the server, but the list of these requests does not change, that is, requests for the old page remain.
Please throw a manual, or tell me in which direction to google.
ps. In the original theme, of course, there are no such problems.
No suspicious plugins found. Disabled all plugins - same effect.
Disabled caching in Developer tools. There is nothing suspicious in .htaccess.
Browser - Chrome 37.0.2000.0 (291000). (in firefox - the same. In the old (12, it seems) Opera - normal)
Wordpress 4.2.2
Theme - Bridge from Qode on themeforest.
Hope for help. Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
LittleFatNinja, 2015-06-26
@LittleFatNinja

disable caching on the server

W
webpixel, 2015-06-26
@webpixel

You also need to make sure that, for example, the header is not registered in the template-homepage.php file directly there, in which case you will not see the changes. Review all template files for headers.
If it's all about caching, and you say you have disabled all plugins, then, as LittleFatNinja said , you need to disable caching on the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question