Theme needs to be fixed using Theme Editor

Hi!
I’m seeing the following message on my dashboard:
Your theme needs to be fixed for plugins to work. To fix your theme, use the Theme Editor to insert <?php wp_head(); ?>just before the line of your theme’s header.php file.

When I go to the Theme Editor I’m seeing a warning message. Is it safe to make the above changes or how can I resolve without using Theme Editor?

Thank you!

Hi,

That line of code is already added to the theme’s header by default.

You can verify by checking this file wp-content/themes/x/framework/legacy/cranium/headers/views/global/_header.php

A plugin might not be able to pick it up because of xtheme file structure.

You may ignore the warning.

Thanks

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.