Adding edit-tags.php?taxonomy to a subpage
-
I’ve reworked my media library to run on categories. so I have a taxonmony
media_category
for Media items. I used the edit/manage taxonomy page that wordpress’s Posts & Links use, & just changed the taxonomy query in the url, so myadd_submenu_page('upload.php'....)
function argument looks like:edit-tags.php?taxonomy=media_category
it does work, but when on the edit tax page, the “Active” window in the admin navigation, is highlighting Posts instead of Media … as if it has no idea that the URL belongs to “MEDIA”.. see screen cap:
https://cl.ly/7j3B (green highlights that we’re on the highlighted subpage, and the proper content is showing. red highlighing that for some reason, when in the sub-menu “Media Categories”, the “Posts” top level page is highlighted and expanded instead of the “Media” top level page)
I’ve been stuck on this for 4 hours.. any info would be greatly greatly appreciated..
- The topic ‘Adding edit-tags.php?taxonomy to a subpage’ is closed to new replies.