Title: Custom usage
Last modified: December 19, 2019

---

# Custom usage

 *  Resolved [hendrik86](https://wordpress.org/support/users/hendrik86/)
 * (@hendrik86)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/custom-usage-2/)
 * Hi!
 * I’m building a website where I need to place glossary links at different spots(
   not only in widgets or the_content areas).
    To do so I’m searching for an option
   to call the term search / auto_link methods by myself, so I was trying something
   like this in my template:
 *     ```
       $engine = Glossary_Search_Engine::get_instance();
       $engine->initialize();
       $test = $engine->auto_link("Fachbegriff");
       ```
   
 * (The string “Fachbgeriff” already exists as a glossary entry and it works when
   I use this term in post content)
 * This way it doesn’t work. The auto_link method returns simply “Fachbegriff” not
   wrapped with any link.
 * Am I missing something or is it even possible to work with your plugin like this?
 * Thanks a lot, hope you get my problem!
    -  This topic was modified 6 years, 5 months ago by [hendrik86](https://wordpress.org/support/users/hendrik86/).

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

 *  Plugin Author [Daniele Scasciafratte](https://wordpress.org/support/users/mte90/)
 * (@mte90)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/custom-usage-2/#post-12257463)
 * You are using in the right way, but he doesn’t expect a single word but a block
   of text.
    Our filter ignore the first word of a block of text if doesn’t start
   with a HTML tag.
 *  Plugin Author [Daniele Scasciafratte](https://wordpress.org/support/users/mte90/)
 * (@mte90)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/custom-usage-2/#post-12322689)
 * Closing after 3 weeks of silence

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

The topic ‘Custom usage’ is closed to new replies.

 * ![](https://ps.w.org/glossary-by-codeat/assets/icon-256x256.png?rev=1889092)
 * [Glossary](https://wordpress.org/plugins/glossary-by-codeat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/glossary-by-codeat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/glossary-by-codeat/)
 * [Active Topics](https://wordpress.org/support/plugin/glossary-by-codeat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/glossary-by-codeat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/glossary-by-codeat/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Daniele Scasciafratte](https://wordpress.org/support/users/mte90/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/custom-usage-2/#post-12322689)
 * Status: resolved