WordPress.org

Support

Support » Plugins and Hacks » CM Tooltip Glossary » [Resolved] Glossary terms not working in pages

[Resolved] Glossary terms not working in pages

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author CreativeMinds

    @creativemindssolutions

    Can you please send a URL since we can not replicate this

    Please check also that you don’t have any JS error in pages, this can cause tooltip not to appear (to do this you need to open developer consul and check for errors in Browser – ex FireBug)

    Thanks for the quick response. Since sending the original message some pages have starting working, but other still don’t. Some of the text with glossary terms are inside theme shortcodes.

    To see the site use this URL (it’s not live yet):

    http://www.flying-start.org/preview

    Then go here to see a working one:

    http://www.flying-start.org/age-18-to-24/

    And here to see one that isn’t:

    http://www.flying-start.org/age-18-to-24/choose-route/military/aac-requirements/ – you’ll need to expand the toggled content in the grey bar.

    I’ve checked for errors using Firebug with Firefox, and nothing comes up.

    Thanks

    Lee

    Plugin Author CreativeMinds

    @creativemindssolutions

    To parse terms inside shortcodes inside theme shortcodes, You will need to use red_glossary_parse($content, true) function (PRO version only) inside a shortcode function.
    In regular version only raw content is parsed, before any of shortcodes are being replaced by their equivalents. You can also try to modify add_filter(‘the_content’, ‘red_glossary_parse) with far priority index:

    add_filter(‘the_content’, ‘red_glossary_parse’, 99);

    so it could be parsed AFTER shortcodes are evaluated (need to try which number will be enough, could be 99, could be 999, depending on other filters)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Glossary terms not working in pages’ is closed to new replies.
Skip to toolbar