Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Integrate with Object Selector Control to include an Add New button #143

Closed
westonruter opened this issue May 22, 2016 · 1 comment
Closed

Comments

@westonruter
Copy link
Contributor

The Customize Object Selector Control provides a UI for selecting one or more posts via Select2.

If the user wants to add a post that doesn't exist yet, there should be a button to be able to add a new post instead of the user being blocked. This is very similar to what is described in being able to add new posts when selecting a nav menu item to add: https://core.trac.wordpress.org/ticket/34923

Clicking an “Add New” button should create the post of that type and then focus on the new section for that post type. When clicking collapse on the new post Customizer section, the user should be returned to previous Customizer section with the selection control focused and the newly-added item appearing in the list. See Customizer UI breadcrumbs as implemented for https://core.trac.wordpress.org/ticket/32683

customize_

Depends on #48.
Depends on #50.
Depends on #134.

Originally at danielbachhuber/customizer-ajax-select#5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant