WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Probably my question title is confusing.

I want something like this:

  1. I have custom post type
  2. When I click on add new, I would like to go to a "select" page
  3. The select page allows you to make a choice (by clicking the appropriate box)
  4. You are then redirected to the standard 'add new' custom post type page. However, a custom metabox will be pre-filled with data based on the choice in step 3. The url would have a custom query variable e.g. "wp-admin/post-new.php?post_type=my-box&box_id=3"

Ok, hope you understand me now, how can I force that before I go to add new page, to show that my "select page" ?

share|improve this question

Hmm - I have to wonder why you don't just have the selection that you would have on the first page be in a metabox in the add new page - and maybe make it appear top right ?

Given that the implication is that they could change the prefilled data anyway?

Failing that, a possiblity may be to 1) add a separate menu item for your special page. (and/or remove add new ) 2) submit of special page calls/includes "add new" file if special fields prefilled in _POST or _GET variable 3) metabox function will detect the prefilled variables and display them as you wish.

Kind of like this - it has a "a new link" from a settings page.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.