WordPress.org

Ready to get started?Download WordPress

Forums

CM Tooltip Glossary
[resolved] Link Plural Glossary Terms (4 posts)

  1. RyanLorem
    Member
    Posted 1 year ago #

    Maybe this would make a good option for a future update, if CM is up for it. For now I am interested in finding which part of the plugin defines how to recognize terms in posts/pages.

    Which code snippet needs to be edited in order to link plural usage of a term to the related glossary term?

    For example, recognize the term "mortgages" and link to the glossary page item for "mortgage".

    If a term is found and ends in either 's' or 'es', link to the term.

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

  2. CM Plugins
    Member
    Plugin Author

    Posted 1 year ago #

    This is a complex project..For now you can use the Pro version and use a Synonym
    More about Pro plug http://www.cminds.com/downloads/cm-enhanced-tooltip-glossary-premium-version/
    More about the complexity in here http://stackoverflow.com/questions/796412/how-to-turn-plural-words-singular

  3. RyanLorem
    Member
    Posted 1 year ago #

    Thanks a bunch!

    I was hoping there is a way to check if it is $term . 'es' instead of simply all words ending in "es".

  4. CM Plugins
    Member
    Plugin Author

    Posted 1 year ago #

    We have added a support for plural / singular in the pro version, it is done manually by specifying all variation for a term.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic