Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add select_terms field #106

Open
theenoahmason opened this issue Oct 30, 2022 · 0 comments
Open

Add select_terms field #106

theenoahmason opened this issue Oct 30, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@theenoahmason
Copy link
Member

Add support for the ability to set a term from a dropdown.

When set on post types, there should be an argument to actually attach the taxonomy, and retrieve the terms for that post when populating the value.

When setting on other terms, ensure that the filtering and sorting logic does not affect them. Something to look out for is whether the query comes before the actual get_terms call for the page. WP Backstage adds actions to the first get terms and get terms (count) queries to be able to target the list table calls, without affecting the others. If the filters are called first, this will mess things up, so make sure to check that this isn't the case.

@theenoahmason theenoahmason added the enhancement New feature or request label Oct 30, 2022
@theenoahmason theenoahmason self-assigned this Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant