Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Toolset Plugin Issues

Home / Forums / Virtue Theme / Toolset Plugin Issues

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
March 10, 2018 at 10:21 am

Hi,
I am trying to use Toolset plugins. Whenever I activate their layout plugin, the CSS for Virtue breaks. When I contacted them, they said the problem was with the Virtue Premium theme.

Here is what they said:
“If you analyse the code of that theme, you’ll notice that the templates are very particular.
For example, they never call the mandatory get_header or get_footer, or a loop in general.

Please compare the theme’s files with something like Twenty Seventeen, to see what I mean.
You can pick the “single.php” for example.

Notice how TwentySeventeen calls properly the header and footer functions so other plugins can hook their code in there (for example) but also WordPress itself can work as expected.

I also see in their header.php for example:

– Force plugins to stop stating incorrect errors –
<?php wp_head(); ?>
*/

This is definitely wrong, it will produce issues.
Plugins exactly need that to hook their functions.

If you disable this in a theme – it’s up to the developer to be aware of the consequences:

Is this correct? Is there any plan to add these hooks (get_header, get_footer) in the future?

  • The forum ‘Virtue Theme’ is closed to new topics and replies.