Tagged: x
-
AuthorPosts
-
June 9, 2016 at 9:56 am #1034119
AndrewParticipantCan’t provide login details – developing on unreachable localhost. Running CS 1.2.4; WP 4.5.2; X 4.5.2; X-Child
Hey guys!
I’ve installed a plugin that once activated, shows the following message;
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.
I’m a little wary of this as I don’t know what I’m doing. Also, when I did look at the header.php file in X, and in X-Child theme, there was no <head></head> tag.
(a) Is this a valid and safe request?
(b) If so, where should I add the code if there are no <head></head> tags?
Cheers!
Andrew
June 9, 2016 at 1:21 pm #1034430
RupokMemberHi Andrew,
Thanks for writing in! Not sure which plugin you are referring but certainly it’s not tenable at all. Unless you overwrite the header with Child Theme, wp_head(); is already exist on X. So you can check your Child Theme’s header file. If you can see this on your Child Theme as well then the issue is related with the plugin you are referring. Maybe it just failing to detect this correctly.
If you don’t have wp_head(); then you won’t see admin bar on your site, so you can check the admin bar to make sure you have wp_head(); on your Child theme as well.
Hope this helps.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1034119 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
