Title: Keywords ToolTip Generator
Last modified: August 24, 2016

---

# Keywords ToolTip Generator

 *  Resolved [RGhost](https://wordpress.org/support/users/rghost/)
 * (@rghost)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/keywords-tooltip-generator/)
 * It seems Insert Pages broke functionality of [https://wordpress.org/plugins/bluet-keywords-tooltip-generator/](https://wordpress.org/plugins/bluet-keywords-tooltip-generator/).
   After insert page no more keywords.
    Any ideas how to fix?
 * [https://wordpress.org/plugins/insert-pages/](https://wordpress.org/plugins/insert-pages/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/keywords-tooltip-generator/#post-6061770)
 * I just tested and it’s working fine on WordPress 4.2.1 with Keywords ToolTip 
   Generator 2.5.6 and Insert Pages 2.4. I tested on pages without inserted pages,
   with inserted pages, and within inserted pages.
 * It’s probably an error in your theme code somewhere; you should look into your
   server logs for more details.
 *  Thread Starter [RGhost](https://wordpress.org/support/users/rghost/)
 * (@rghost)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/keywords-tooltip-generator/#post-6061808)
 * Thank you for the answer. I checked with themes which comes with WP, same problem.
   Maybe it conflicts one of the installed plugins. I try to debug, and to find 
   which one of them is conflicting.
 *  Thread Starter [RGhost](https://wordpress.org/support/users/rghost/)
 * (@rghost)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/keywords-tooltip-generator/#post-6061809)
 * Too difficult to me for debug 🙁
    I tried disable all plugins except Keywords
   ToolTip Generator 2.5.6 and Insert Pages 2.4 and can’t get it work together with
   any of theme.
 * Debug drops:
 *     ```
       Undefined index: bt_kw_alt_img	1	wp-content/plugins/bluet-keywords-tooltip-generator/index.php:98	wp_enqueue_scripts()
       do_action('wp_head')
       wp_head()
       load_template('~/wp-content/themes/twentyfifteen/header.php')
       locate_template()
       get_header()	Core
       Undefined index: bt_kw_for_pages	1	wp-content/plugins/bluet-keywords-tooltip-generator/index.php:68	wp_head()
       load_template('~/wp-content/themes/twentyfifteen/header.php')
       locate_template()
       get_header()	Core
       Undefined index: bluet_kttg_show_glossary_link	1	wp-content/plugins/bluet-keywords-tooltip-generator/index.php:166	the_content()
       InsertPagesPlugin->insertPages_handleShortcode_insert()
       do_shortcode_tag()
       preg_replace_callback()
       do_shortcode()
       apply_filters('the_content')
       the_content()
       load_template('~/wp-content/themes/twentyfifteen/content.php')
       locate_template()
       get_template_part('content','')	Plugin: insert-pages
       ```
   
 * Any ideas?
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/keywords-tooltip-generator/#post-6061825)
 * Hm, that’s a bunch of warnings coming from Keywords ToolTip Generator. Have you
   made any changes to it, and are you updated to the latest version?
 * In my test site, neither plugin is throwing errors. Can you provide more info
   about the disappearing tooltips? Are they in the inserted page, or the parent
   page? If they’re in the parent page, is it before or after the inserted page?
 *  Thread Starter [RGhost](https://wordpress.org/support/users/rghost/)
 * (@rghost)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/keywords-tooltip-generator/#post-6061831)
 * I’m using latest versions (auto updated), I didn’t change any plugins.
 * I tried different combinations Post->insert Post, Page ->insert post, Post ->
   insert page …
    In all combination in post/page in which I insert page/post tooltips
   disappear. But if inserted post/page already contains tooltips it is works in
   combined page/post. Also, if used “title” param in Insert Pages toolstips works
   as expected. It is unimportant where [insert page=..] located, its breaks tooltips.
 * p.s. I’m using PolyLang plugin in my test site (I tried disable as I wrote before)
   and I think maybe it is culprit.
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/keywords-tooltip-generator/#post-6061846)
 * Okay, I played around with Keywords ToolTip Generator (KTG) a bit, and think 
   I have a few options for you. None of them require changes to Insert Pages, which
   I think is functioning as it should.
 * First, the problem seems to be how KTG hooks into the_content filter. Each inserted
   page also gets filtered through the_content, and somehow this is preventing KTG
   from executing its the_content filter.
 * First option:
    index.php line 152 is where KTG hooks into the_content. If you
   change their priority to 11 (instead of 100000), it should work. You may want
   to open an issue with the maintainer of that plugin, because it’s inadvisable
   to just hack plugin files (any updates they release will overwrite your change).
 * Second option:
    You can disable the_content filter on inserted pages, which would
   avoid the conflict with KTG. Keep in mind that this means that the content of
   all inserted pages won’t get the filter applied, so if you have shortcodes or
   other content that gets filtered, it won’t get parsed. You can do this by adding
   a filter to tell insert pages to disable the content filter. Put the following
   add_filter() call in your theme’s functions.php within the init action, like 
   so:
 *     ```
       function theme_init() {
           // Disable the_content filter for inserted pages.
           add_filter( 'insert_pages_apply_the_content_filter', function ( $should_apply ) { return false; } );
       }
       add_action( 'init', 'theme_init' );
       ```
   
 * Third option:
    In the past I’ve used the Explanatory Dictionary plugin alongside
   Insert Pages without any problems. [https://wordpress.org/plugins/explanatory-dictionary/](https://wordpress.org/plugins/explanatory-dictionary/)
 *  Thread Starter [RGhost](https://wordpress.org/support/users/rghost/)
 * (@rghost)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/keywords-tooltip-generator/#post-6061849)
 * Thank you very much for all your help!! Fixes work.
    I’m still configure new 
   my web site, so I will check third option too … maybe it will be better then 
   KTG.
 *  [Jamel.Z](https://wordpress.org/support/users/lebleut/)
 * (@lebleut)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/keywords-tooltip-generator/#post-6061867)
 * Hi everyone
 * first thanks for appreciating KTTG
 * I think that [plugin organizer](https://wordpress.org/plugins/plugin-organizer/)
   can in somehow solve the problem, I’ve tried it but I can’t cat an expected result!
 * anyway I think I will add the filter priority number as parameter on the settings
   page.
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/keywords-tooltip-generator/#post-6061868)
 * Thanks Jamel!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Keywords ToolTip Generator’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/insert-pages.svg)
 * [Insert Pages](https://wordpress.org/plugins/insert-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-pages/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/keywords-tooltip-generator/#post-6061868)
 * Status: resolved