• Hello everyone,
    I searched the forum but I didn’t get any proper answer for my query. So I’m posting here. Hope I’ll get a better help here. I have two plugins that can add contents to the bottom of the posts (ad injection and Optin cat). How to change the loading priority. Now ad injection plugin is inserting the ads below the optin forms. I just want to load the ads above this optin form.

    Have a look at this link http://www.getcooltricks.com/tutorials/nokia-220-and-225-apps-download-page/

    Thanks and Regards
    Pradeep Augustine

Viewing 1 replies (of 1 total)
  • I’m not familiar with the particular plugins, but maybe this will help (if you want to look at the code).

    There is a filer called “the_content” that some plugins use to hook into the content before its displayed. Meaning, plugins are able to add/remove from the content using this filter.

    Depending on the plugin, they can choose to set the priority of this filter, and this could be helpful with the load priority issue you describe. So if you really wanted this changed, you would need to modify one of the plugins “the_content” filters priority.

    This is what the filter would look like (example):
    add_filter( 'the_content', 'my_the_content_filter', 10 );

    The number is the priority level and the lower the number, the higher the priority.

    Please note, if you do opt to go this route and either plugin has an update, it will remove your changes that you’ve made.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin Load order’ is closed to new replies.