Tagged: Custom Post Type, navigation
-
AuthorPosts
-
May 24, 2019 at 2:31 am #1103837
Hello,
I am using Pods to create a custom post type (called ‘team‘), and I made it support sidebars & the other Enfold meta boxes.
The custom post type has this permalink structure: /about/team/team-category/team-single
Where /about/ and /about/team/ are default wp pages. Those have the default sidebar that is displaying that beautiful nested navigation.
However I have been unsuccessful in creating the same nested navigation the regular pages have for the custom post type.What am I doing wrong?
- This topic was modified 5 years, 7 months ago by midfieldco.
May 24, 2019 at 6:40 pm #1103991Hey midfieldco,
Thank you for contacting us.
Would you mind providing a bit more info?
How did you add the nested navigation?
Please share a precise link to the page, showing the elements in question?We need to be able to inspect them in order to help :)
Best regards,
VinayMay 24, 2019 at 11:46 pm #1104098Hey Vinay, I added some private content down below.
The first link contains the sidebar I want (Enfold default).
The second page is the custom post type (created using Pods).Let me know if you need credentials or other things.
Don’t mind the design as I am still working on it :)
Thank you so much!- This reply was modified 5 years, 7 months ago by midfieldco.
May 31, 2019 at 7:20 am #1105604Hi,
Thank you for the update. And sorry for the delay.
Those pages require a password. What is it? Please provide it in the private field.
Best regards,
IsmaelMay 31, 2019 at 7:22 am #1105606Yes, in the meantime I had to add a password (client requested).
June 3, 2019 at 3:42 am #1106538Hi,
Do you want to display the nested navigation for the items in a custom post type? That function is created for pages because they are hierarchical by default, which allows parent or child pages to be set. Please see notes about the “hierarchical” parameter and why it is only enabled for pages.
// https://codex.wordpress.org/Function_Reference/register_post_type#Parameters
Unfortunately, that navigation is not going to work with custom post types using the current “avia_sidebar_menu” implementation.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.