• Resolved hendrik86

    (@hendrik86)


    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 4 years, 4 months ago by hendrik86.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom usage’ is closed to new replies.