Changes between Initial Version and Version 1 of Ticket #56154, comment 7
- Timestamp:
- 07/07/2022 02:37:51 PM (15 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56154, comment 7
initial v1 1 So removing the tax_query line and that did fix my issue since I am sorting my posts by meta_key. I guess the tax_query isn't needed anymore. If I remove the function completely the menu still disappears on my tax page that's sorted by meta_key. I'm not sure how the wp_get_nav_menu_items would fix this issue but for now removing the tax_query line worked.1 So removing the tax_query line did fix my issue but since I am sorting my posts by meta_key it wasn't needed. I guess the tax_query isn't needed anymore. If I remove the function completely the menu still disappears on my tax page that's sorted by meta_key. I'm not sure how the wp_get_nav_menu_items would fix this issue but for now removing the tax_query line worked.