Tagged: x
-
AuthorPosts
-
November 28, 2016 at 7:50 am #1273150
HelloParticipantHi,
Please help with this message below. Please read.Edit Themes
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.
Error : Please fix your theme to make plugins work correctly. Go to the Theme Editor and insert the following string: <?php wp_head(); ?> Please enter it just before the following line of your header.php file: </head> Go to your theme editor: click here.
So, I went to the Theme editor in WordPress but the header.php file is not in my child theme. So I went to my host’s File Manager to see the file.
But there is no </head> line, only </header>?
I entered the code but nothing happened and the error message was still there,
Please look into this.
Thank you.
November 28, 2016 at 7:51 am #1273152
HelloParticipantThis reply has been marked as private.November 28, 2016 at 8:38 am #1273207
ChristianModeratorThe file that you need is
_header.phplocated inwp-content\themes\x\framework\views\global. See https://community.theme.co/kb/customization-best-practices/ to learn how X is structured.Your plugin must be badly written to throw that error.
X was built with WordPress coding standards
<?php wp_head(); ?>is included.Thanks.
November 28, 2016 at 8:59 am #1273231
HelloParticipantThis reply has been marked as private.November 28, 2016 at 9:05 am #1273240
RupokMemberHi there,
You don’t need to do anything.
<?php wp_head(); ?>is properly added to the theme already and there should not be any issue with that. Where you are getting those error message? On a plugin?November 28, 2016 at 9:14 am #1273250
HelloParticipantThis reply has been marked as private.November 28, 2016 at 9:22 am #1273261
RupokMemberHi there,
Did you edit the parent theme before? Kindly install a fresh copy of X and check again.
Thanks!
November 28, 2016 at 9:30 am #1273271
HelloParticipantThis reply has been marked as private.November 28, 2016 at 9:45 am #1273289
RupokMemberHi there,
So the error coming up all of a sudden? Perhaps it’s causing by a plugin. You could 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.
Also re-installing theme won’t wipe out any customization but if you ever edited the theme files then that will be wiped and that’s what you should do now because you should not edit the parent theme files.
Thanks!
November 28, 2016 at 9:50 am #1273296
HelloParticipantThis reply has been marked as private.November 28, 2016 at 11:31 am #1273450
NicoModeratorHi There,
In this case, to further check your setup we need to have your FTP credentials in private reply.
While we check after you send the credentials, you could test for 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. As said also above this thread.
Let us know how it goes.
Thanks.
November 28, 2016 at 3:27 pm #1273696
HelloParticipantThis reply has been marked as private.November 28, 2016 at 4:27 pm #1273742
HelloParticipantThis reply has been marked as private.November 28, 2016 at 10:10 pm #1274112
RupokMemberHi there,
Thanks for writing back. Your theme and Child Theme seems fine, no issue there. I believe the plugin just looking for the wp_head on a static file but it could be somewhere else as well. Since other plugins are doing that properly, so apparently the plugin failing to determine that properly.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1273150 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
