• Resolved kendallq

    (@kendallq)


    Greetings!
    First, I love your plugin.

    Secondly, I use another plugin that creates a custom post type, events (he plugin is Events Manager Version 5.4.4), and posts (or pages) generated via that plugin don’t seem to be parsed for adding tooltips. Your literature mentions something about more post options and I wonder if this is a feature of the Pro version.

    Thank you!

    https://www.ads-software.com/plugins/enhanced-tooltipglossary/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author CreativeMindsSolutions

    (@creativemindssolutions)

    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

    Plugin Author CreativeMindsSolutions

    (@creativemindssolutions)

    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’);

    Thread Starter kendallq

    (@kendallq)

    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.

    Plugin Author CreativeMindsSolutions

    (@creativemindssolutions)

    Did you check console for JS errors ?

    Thread Starter kendallq

    (@kendallq)

    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?

    Plugin Author CreativeMindsSolutions

    (@creativemindssolutions)

    Thread Starter kendallq

    (@kendallq)

    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. ??

    Plugin Author CreativeMindsSolutions

    (@creativemindssolutions)

    Plugin Author CreativeMindsSolutions

    (@creativemindssolutions)

    Closed

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Pro Feature?’ is closed to new replies.