Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter CyberPK

    (@cyberpk)

    I’ve looked at the theme function and seem to be an hook to the ‘pre_get_posts’ too. Maybe a conflict with the hook of the plugin?
    Anyway, managed to get it working editing simplyexclude.php deleting the priority.

    Changed:
    add_filter(‘pre_get_posts’, array(&$this,’se_filters’),999);
    To:
    add_filter(‘pre_get_posts’, array(&$this,’se_filters’));

    And it started working.
    What I can do to make this edit permanent avoiding problem on update?

    Plugin Author Paul Menard

    (@pmenard)

    @cyberpk,

    Generally I want the se_filters hook to execute last. This is the reason for the 999 option. What I can do is setup a define you can add to your theme functions.php or wp-config.php which will override that 999 value. Something like

    define(‘SE_FILTERS_PRIORITY’, 1);

    I’ll include this in the next release.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘First install: problems in wordpress 4.0?’ is closed to new replies.