INN / umbrella-citylimits

CityLimits.org Site
https://citylimits.org
GNU General Public License v2.0
0 stars 2 forks source link

Allow neighborhoods taxonomy to be shown in rest api #158

Closed joshdarby closed 4 years ago

joshdarby commented 4 years ago

Changes

This pull request makes the following changes:

From https://codex.wordpress.org/Function_Reference/register_taxonomy

show_in_rest
(boolean) (optional) Whether to include the taxonomy in the REST API. You will need to set this to true in order to use the taxonomy in your gutenberg metablock.
Default: false

Screen Shot 2020-02-11 at 10 55 48 AM

Why

For #155

Testing/Questions

Features that this PR affects:

Questions that need to be answered before merging:

Steps to test this PR:

  1. Edit a post with the Gutenberg editor and make sure the Neighborhoods metabox shows up on the document sidebar