You’ll need to add the cities as a child of a state and then expose your custom taxonomies using the rest API.
After exposing it, you’ll need to fetch the cities based on the selected state.
Please let me know if you need more information.
Related Posts:
- Modify Term Update Redirection
- Recreating the hierarchy of taxonomies for a dropdown form menu?
- How can I populate a select element with terms from a custom taxonomy and filter post results?
- Filter custom taxonomy archive posts by 2nd custom taxonomy using select dropdown
- Create custom taxonomy and Display in metabox dropdown
- Custom Taxonomy Not Saving in Front End Post
- Custom field with terms from another taxonomy programmatically
- Unregistered taxonomy apears still as emtpy filter list
- Calling Custom Taxonomy Dropdown in Form
- Taxonomy to display form after creation
- How to add images to taxonomies?
- Can you add the visual editor to the description field for custom taxonomies?
- Check if a post has any term in this custom taxonomy?
- Custom Taxonomy as Dropdown in admin
- Custom taxonomy hide meta box but show in menu
- Is there a way to disable a term rather than deleting it?
- Check if current term is a child of another term
- get_terms() doesn’t return empty terms even though hide_empty is false
- SQL QUERY needed to get POST category (taxonomy) ? – MUST be SQL statement
- Remove Category description textarea
- Archive template for taxonomy terms
- How can I display parent and child taxonomies in separate drop downs?
- Display a custom taxonomy as a dropdown on the edit posts page
- Looping Through Custom Tax Terms and Displaying All Posts For Each
- Possible to register multiple custom taxonomies in one function?
- How to get the top most term (top ancestor) of a custom taxonomy child term?
- Function to limit the number of posts in taxonomy.php
- User role permissions based on taxonomies
- WP Query with custom taxonomy
- How to display custom taxonomy in multiple columns?
- get_the_terms() to show all custom taxonomies
- Custom taxonomies making WP very slow – Way to fix?
- Removing the “Popular Terms” area from the Taxonomy Edit Screen in the Admin Area
- Sorting taxonomy columns by meta value numeric
- Programatically added attribute, set to ‘show on product page’ automatically. Woocommerce [closed]
- ACF vs Taxonomies
- Reverse traversing taxonomy based on term_id
- Get Current Custom Taxonomy ID by Post ID
- Taxonomy archive showing no results
- I used the Tax-meta-class by bainternet but i still can’t get it to display any of the results.
- Autogenerate Front End Form Field With jQuery
- Changing taxonomy term by slug (wp_update_term)
- Taxonomies on custom taxonomies
- How to join result of different taxonomies?
- How to add Post Format Taxonomy Archive page in the menu?
- How to Rewrite Taxonomy URL to Include the Post Type as the Second Segment of the URL?
- How to get all taxonomies which can be added in menu?
- WordPress Tag or Custom Taxonomy Return All Posts if has that Word in Post Title
- Select multiple categories from CPT to display in LayersWP builder widget
- Replace taxonomy permalinks
- Custom Taxonomy Term Archive Page Template that Filters 2 or more Taxonomies
- How to create a custom taxonomy using a shortcode?
- Override Taxonomy Template
- Using wp_dropdown_categories in widget options
- Trying to add taxonomy to get_categories() but it’s not working. How to fix this?
- Filter through custom taxonomy with an array of taxonomy IDs
- Taxonomy archive template that shows posts from more than one taxonomy
- Taxonomy Overview Page?
- Order taxonomy terms wordpress
- Search box with field hidden till drop down selection is made
- Unable to get the Parent Custom Taxonomy Terms
- How to get the term description in a taxonomy term archive query?
- Unsetting post_tag taxonomy breaks term description for other taxonomies
- Taxonomies on Pages with Custom Formatting
- Why do my quick edits for custom taxonomies not show on the post frontend?
- Prioritise Pages over Taxonomy Term Root Archive, but not Taxonomy Term Child Archives
- Tracking the name of a custom taxonomy
- new custom filed not showing in taxonomy
- How do I get the correct URL?
- Custom Taxonomies Archive Page 404
- How to replace custom post type with custom taxonmy in permalinks
- Cloning product not copying custom taxonomies
- Dropdown (with onChange) with custom taxonomies
- Get Highest and Lowest get_term_meta() value from Taxonomy Term
- ACF Custom field not showing in Timber Taxonomy page
- Changing an item in drop down after 5 latest posts per taxonomy
- How to get a terms and posts associated with another term?
- Displaying subcategories and then posts in taxonomy template
- How to use two same taxonomy in same post differently?
- ajax drop down change second drop down data
- Show portfolio category slug in url ( if exist)
- switch statement for taxonomy content
- How do you search for a post by custom taxonomy?
- Display taxonomy term slugs
- Can I use multi (sub) levels of relation (AND | OR) on custom query?
- Index page of posts tagged with two separate taxonomies
- How to use tax_query other than by slug or id or solve custom taxonomy tags conflicts with pre-existing tags?
- add custom fields in custom taxonomy meta box in wordpress-3.5.2
- How to permanently delete a taxonomy
- Advanced AND tax_query in sidebar with 2 taxonomies
- create taxonomy
- Alternative for is_taxonomy() to workaround theme’s default sidebar
- What is the current page’s Taxonomy?
- Get custom taxonomy term url on archive page
- Display woocommerce product_cat child terms with thumbnails
- query grandchildren taxonomy terms
- Adding new terms to custom taxonomy
- Add text in custom taxonomy
- How do I check if a post has a term with a particular ancestor/parent?
- Best approach of implementing multi-select/checkboxes for taxonomies?