Support

Account

Home Forums Backend Issues (wp-admin) post_object/query exclude page (4.4.11) Reply To: post_object/query exclude page (4.4.11)

  • Hi James,
    Thanks for the quick response. However, I have created a brand new installation of Twentyseventeen and tested with the default post and page with no other plugins installed and I get the same issue.

    In this situation, I have added a Field Group to POSTS with a single Post Object field:

    Post Object Field Screengrab

    In my functions file, I have the following filter to exclude the Sample Page with an ID of 2:

    Functions File Filter

    But when I select the Field on a post, you can see that the Sample Page is still available for selection:

    Post Object Dropdown on POST admin screen

    What am I doing wrong?

    Appreciate your help and have a great Christmas ;o)