We also use Event Manager on several sites…in general in some cases plugin does not load sue to conflicts and the way to solve this is through your templet if you don’t want to hack plugin
You can add this code
//include glossary script and stylesheet since it is not loading by itself in search results
$glossary_path = WP_PLUGIN_URL . ‘/’ . ‘tooltipglossary/’;
wp_enqueue_script(‘tooltip-js’, $glossary_path . ‘tooltip.js’);
wp_enqueue_style(‘tooltip-css’, $glossary_path . ‘tooltip.css’);
Pro version will not solve this issue
Let me know if this solved issue
sorry one correction for the path – please change the tooltipglossary to the correct path in your workpress plugin directory since it depends on the version of plugin you are using
// include glossary script and stylesheet since it is not loading by itself in search results
$glossary_path = WP_PLUGIN_URL . ‘/’ . ‘tooltipglossary/’;
wp_enqueue_script(‘tooltip-js’, $glossary_path . ‘tooltip.js’);
wp_enqueue_style(‘tooltip-css’, $glossary_path . ‘tooltip.css’);
That didn’t produce any result.
I tried :
$glossary_path = WP_PLUGIN_URL . ‘/’ . ‘enhanced-tooltipglossary/’;
wp_enqueue_script(‘tooltip-js’, $glossary_path . ‘tooltip.js’);
wp_enqueue_style(‘tooltip-css’, $glossary_path . ‘tooltip.css’);
In a few different ways, in my child template functions.php, and in a child template of the page itself. I’m sure the code was making to the page but no tooltips were produced like on other regular wp pages.
Did you check console for JS errors ?
Hi! There were a few unrelated JS errors and I’ve cleared them.
Here is effectively what is in the event manager template file:
<?php
$glossary_path = WP_PLUGIN_URL . '/' . 'enhanced-tooltipglossary/';
wp_enqueue_script('tooltip-js', $glossary_path . 'tooltip.js');
wp_enqueue_style('tooltip-css', $glossary_path . 'tooltip.css');
global $EM_Event;
/* @var $EM_Event EM_Event */
echo $EM_Event->output_single();
?><!-- #test --><?php
?>
I see the “test” comment in the page source so I know my child template and your code is making it to the page. Have I done it wrong?
Thanks. Unfortunately, the solution only produced memory errors and after raising the memory to 700M it just produced a white scree (with no error). Looks like I’ll have to search to find the right plugin combination. π