Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parent Menu ID #1445

Closed
sundco opened this issue May 28, 2013 · 5 comments
Closed

Parent Menu ID #1445

sundco opened this issue May 28, 2013 · 5 comments
Assignees
Milestone

Comments

@sundco
Copy link

sundco commented May 28, 2013

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

@sundco
Copy link
Author

sundco commented May 28, 2013

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)

@sundco sundco closed this as completed May 28, 2013
@ghost ghost assigned sc0ttkclark May 29, 2013
@sundco
Copy link
Author

sundco commented Jun 1, 2013

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?

@sundco sundco reopened this Jun 1, 2013
sc0ttkclark added a commit that referenced this issue Jun 1, 2013
@rclai
Copy link

rclai commented Jun 1, 2013

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

@entr
Copy link

entr commented Feb 6, 2014

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

@sc0ttkclark
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants