Support » Plugin: My Content Management » [Plugin: My Content Management] Disable glossary from autolinking words on other pages?

  • Resolved damainman

    (@damainman)


    Hello,

    Awesome plugin btw!!

    I am using the plugin just for the glossary functionality. I have 1 page with a bunch of gallery terms. However I just noticed that now any page containing any of the terms, autolinks the term to the glossary page.

    Is there any way to disable this? Basically, I don’t want terms to automatically be turned into links due to my site layout and structure.

    Thank you in advance.

    http://wordpress.org/extend/plugins/my-content-management/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    There’s no control to disable it, but it’s an easy edit to the PHP file.

    Near the end of the file my-glossary-filter.php, comment out these two lines:

    add_filter('the_content', 'mcm_glossary_filter', 10);
    add_filter('comment_text', 'mcm_glossary_filter', 10);

    Replace with

    //add_filter('the_content', 'mcm_glossary_filter', 10);
    //add_filter('comment_text', 'mcm_glossary_filter', 10);

    Joe

    You are sooooo awesome!!!!! Thank you!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: My Content Management] Disable glossary from autolinking words on other pages?’ is closed to new replies.