Home Forums Add-ons Options Page WP_Query for Options page ? Reply To: WP_Query for Options page ?

  • You cannot. Options pages are not stored in any way that associates them with anything that is queryable as a “page” or “post”.

    You can use the 'post_id' option when adding an options page to associate the fields of the options page with a specific post ID, but in order to do what you want you’d probably need to have some type of custom post type or something to use, although you might be able to get away with using any existing post ID as long as that post is never deleted.