• Hy,

    It seems that the gardian of your condition where you force using menu order is not complete in the ‘pre_get_posts’ action.

    If I use suppress_filters with true, wont work.

    I think it will be better if the gardian is
    isset($wp_query->query[‘suppress_filters’]) && !$wp_query->query[‘suppress_filters’] )

    What do you think.

    Yves

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘suppress_filters condition problem’ is closed to new replies.