WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Pro Feature?

[Resolved] Pro Feature?

  • kendallq
    Member

    @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!

    http://wordpress.org/plugins/enhanced-tooltipglossary/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author CM Plugins
    Participant

    @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 CM Plugins
    Participant

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

    kendallq
    Member

    @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 CM Plugins
    Participant

    @creativemindssolutions

    Did you check console for JS errors ?

    kendallq
    Member

    @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 CM Plugins
    Participant

    @creativemindssolutions

    kendallq
    Member

    @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 CM Plugins
    Participant

    @creativemindssolutions

    Plugin Author CM Plugins
    Participant

    @creativemindssolutions

    Closed

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