-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Use a taxonomy instead of meta for template & template-part #24720
Conversation
Terms now get properly created and assigned. |
On the PHP front this is OK, now working on the JS front. |
If this is using a taxonomy now, can we use the automated handling we'd get for querying and response inclusion by marking it as |
Thank you @TimothyBJacobs! I added |
Now that the taxonomy shows in REST, you should be able to query for it automatically using the It should also now be automatically included in the response as the |
@TimothyBJacobs If you feel this can be done better then please feel free to push commits here, you are far more familiar with the REST API than I am! |
Superseded by #27016 |
As discussed in #24377 and a core editor meeting, we want to move away from using post-meta to store the theme, and start using a taxonomy instead.
This PR adds the taxonomy and changes all related queries to use the new
wp_theme
tax.