Pods: Parent Menu ID

Created on 28 May 2013  ·  5Comments  ·  Source: pods-framework/pods

Using Pods 2.3.6 on WP 3.5.1. We're trying to use Parent Menu ID in the Admin UI tab for a pod. When we enter another pod id number and leave Menu Position as 0, the pod disappears from the Wordpress navigation, but it doesn't show up as a submenu of the corresponding pod's navigation item. Is there a different id number for menu items than the pods id number, or is something not working?

Thanks, Mark

Bug

Most helpful comment

Solutions above are probably valid for earlier Pods versions, but I needed to use parent REQUEST URI edit.php?post_type=product

All 5 comments

Oh! I think another github post addresses this...... Yes indeed, in our case we needed to use the id:

pods-manage-(the pod's slug)

Hang on - it's not working after all. Entering in the Parent Menu ID field...

pods-manage-products

puts it as a submenu under the Products pod alright, but clicking it tries to take me to a page on the website itself. We've tried the whole hierarchy...

/wp-admin/admin.php?page=pods-manage-products
wp-admin/admin.php?page=pods-manage-products
/admin.php?page=pods-manage-products
admin.php?page=pods-manage-products
?page=pods-manage-products
page=pods-manage-products
pods-manage-products

but none of them work. Pods 2.3.6 on Wordpress 3.5.1. Are we missing something?

Oh... this is that other thing I was dealing with that I couldn't find. I guess someone else found it.

Solutions above are probably valid for earlier Pods versions, but I needed to use parent REQUEST URI edit.php?post_type=product

We don't handle this in Pods itself, it's however WordPress menus are handled, for the 'parent' argument, like in add_submenu_page

Was this page helpful?
0 / 5 - 0 ratings