CSS bug in WordPress plugins

1

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?

    
asked by anonymous 06.11.2014 / 21:22

1 answer

3

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>
    
06.11.2014 / 22:54