Issue Summary
I am trying to display a custom taxonomy archive in WordPress using Elementor Pro’s Theme Builder, but the archive page does not appear (404 error), and the taxonomy does not show up in the Display Conditions of the Elementor Archive template. Here are the details and everything I have tried so far:
Setup:
Custom Post Type (CPT): Created using CPT UI, named “club”.
public, has_archive, and show_in_rest are set to true.
Custom Taxonomies: Created using Toolset Types plugin, e.g., club-area, club-tag, club-country, club-category.
All taxonomies have show_in_rest, show_ui, and show_in_nav_menus set to true.
Taxonomies are associated with the CPT.
All relevant permalinks, rewrite options, and REST settings are enabled.
What I’ve Tried:
1. Checked Taxonomy Association:
Ensured that each taxonomy is associated with the CPT in Toolset.
Used register_taxonomy_for_object_type() in functions.php for extra assurance.
2. Permalink Settings:
Flushed permalinks (Settings > Permalinks > Save Changes) after each change.
3. REST API Validation:
Confirmed that /wp-json/wp/v2/club-area?per_page=1 returns valid data, not a 404.
4. Elementor Theme Builder:
Tried to create an Archive template and set Display Conditions.
The custom taxonomies do not appear in the Display Conditions list.
5. Public Setting (public => true):
Added custom code to force public => true and rewrite parameters for the taxonomies in functions.php.
6. Checked for Page Slug Conflicts:
Ensured there is no regular WordPress page with the same slug as the taxonomy archive.
7. Tested Archive URLs:
Tried accessing /club-area/some-term and /index.php?club-area=some-term — always get 404 errors.
8. Elementor Tools:
Regenerated Elementor data and cleared all caches.
Thank you!
Any advice or solutions would be highly appreciated.