Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #891929
    BenWoodhead
    Participant

    Hi There,

    I recently updated X Theme and my site is now not displaying correctly. It still functions but it looks as though the styling is missing. Everything is aligned left and the coloumns and fonts are disabled. The plugins are up to date and I have tried deactivating them to find the problem but it still doesn’t change. The URL is http://www.benwoodhead.co.uk/

    The same thing also happened to another site that I built so I had to back up an old version to restore it to normal. Please help.

    Thanks
    Ben

    #891991
    BenWoodhead
    Participant

    Managed to fix it. I reinstalled a fresh version of the child theme and pasted all my custom code into the new one. The only problem is i’m getting an error message on the top of the theme section on the dashboard saying:

    “Error : Please fix your theme to make plugins work correctly: Go to the Theme Editor and insert <?php wp_head(); ?> just before the </head> line of your theme’s header.php file.”

    I tried this but it didn’t stop the message from displaying. Any ideas why this appears? It doesn’t seem to be having any effect on the website though.

    Thanks in advance
    Ben

    #892905
    Lely
    Moderator

    Hello Ben,

    Glad you were able to figure out the original issue.
    About the header issue, please try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    Your site is working as expected. The wp_head() function is already added in X. its located in wp-content/themes/x/framework/views/global/_header.php

    The reason why you are getting an error might be because there’s a plugin set to look for it in a specific file, the header.php – This is not a good thing for it to rely on it as all themes are set up differently, and the <?php wp_head();?> function can be placed in another file as long as it is called in the head section. This is a practice on more complex themes today. In case you figured this out already, please do let us know.

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-891929 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>