• Resolved dwmeso01

    (@dwmeso01)


    Is there any way to tell one plugin not to effect a post if another plugin is using that post?

    example:

    If i’m using TLA inlinks plugin and there are some text link ads in a post, how can i tell another plugin like an “external nofollow links” plugin not to mess with that post? Let me know if you need more info…

Viewing 3 replies - 1 through 3 (of 3 total)
  • So one plugin creates links, and another plugin adds “nofollow” attributes to links, right? And you want the “nofollow” plugin NOT to affect the links created by the TLA plugin, right?

    What you want, then, is for the “nofollow” plugin to run AFTER the TLA plugin (filtering plugins like these always run one after another, not simultaneously).

    Open up the TLA plugin. Somewhere, it will have something like this:

    add_filter('the_content', 'blahblahblah');

    Add a third parameter to it, like this:

    add_filter('the_content', 'blahblahblah', 20);

    The third parameter sets the plugin’s priority. Priority defaults to 10. By setting it higher than 10, you ensure that this plugin will run AFTER your other plugins, thus no “external” attributes being applied to links it creates.

    Thread Starter dwmeso01

    (@dwmeso01)

    Nice, thanks alot. It worked like a charm.

    I really appreciate the help.

    Use TLA, if you don’t care for Google Pagerank.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to tell a plugin not to mess with a post if another plugin is using it’ is closed to new replies.