I have the following problem, my theme in WordPress does not recognize the CSS of the plugins installed on the internal pages, home works normally, but on the other pages, no plugin I install recognizes CSS.
Can anyone help?
I have the following problem, my theme in WordPress does not recognize the CSS of the plugins installed on the internal pages, home works normally, but on the other pages, no plugin I install recognizes CSS.
Can anyone help?
Probably your problem will be the lack of wp_head()
function in your file header.php
or index.php
whose same is usually used with hook to load styles, scripts and meta tags:
<?php
...
/* Aplicar sempre a função wp_head() imediatamente antes da tag de fecho </head>
* no teu tema, ou vai-se quebrar muitos plugins, que geralmente usam este gancho
* para adicionar elementos na <head>, tais como estilos, scripts e meta tags.
*/
wp_head();
?>
</head>
Note:
In some cases, the problem also lies in the absence of the wp_footer()
function in the file footer.php
or index.php
of which can be used as a hook for referencing JavaScript files:
...
<?php
/* Aplicar sempre a função wp_footer() imediatamente antes da tag de fecho </body>
* no teu tema, ou vai-se quebrar muitos plugins, que geralmente usam
* este gancho para adicionar ficheiros de JavaScript.
*/
wp_footer();
?>
</body>
</html>