WPResidence registers its custom post types and default property taxonomies from the WPResidence Core plugin (for example: wpresidence-core/post-types/property.php). For that reason, any custom taxonomy you add should be placed in a child theme (or a small custom plugin), not in the parent theme files.
1) Add the code in your child theme
Add the snippet below to Appearance → Theme File Editor → (your child theme) → functions.php or via FTP in your child theme’s functions.php
Notes:
-
estate_propertyis the WPResidence Property custom post type. -
If you want to attach the taxonomy to other WPResidence content types, you can swap the object type array:
-
Properties:
estate_property -
Agents:
estate_agent -
Agencies:
estate_agency -
Developers:
estate_developer
-
(WordPress taxonomy registration reference)
2) Flush permalinks (important)
After adding the code, go to Settings → Permalinks and click Save Changes once. This flushes rewrite rules so your new taxonomy URLs work.
3) Add taxonomy terms
After that, you’ll be able to add terms for your new taxonomy from the WordPress admin (it will appear in the relevant admin menus once registered).
Important limitation (theme-specific)
Registering the taxonomy makes it available in WordPress (admin + URLs). If you also want that taxonomy to appear inside WPResidence-specific UI like advanced search builders, custom list filters, or special theme modules, that typically needs extra theme integration code (because those areas use their own internal field lists).