[Resolved] Custom Menu items, Primary/Secondary menu, Hook, Elements

Home Forums Support [Resolved] Custom Menu items, Primary/Secondary menu, Hook, Elements

Home Forums Support Custom Menu items, Primary/Secondary menu, Hook, Elements

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #918774
    Jonas

    I have big problems to understand how I can add a menu to a Post type, I got a post type that I want to add a custom menu with links to sections on that page.

    I had hoped that I could do use the secondary navigation and a Element hook to add a display rule to the post type but I just don’t get it,

    Could someone point me in the right direction please,

    #918781
    Leo
    Staff
    Customer Support

    Hi there,

    So you are wanting to use the secondary navigation only on that certain post type?

    If so, you can disable it using Layout Element:
    https://docs.generatepress.com/article/layout-element-overview/#disable-element

    Choose Entire site for location and the certain post type under exclusion:
    https://docs.generatepress.com/article/layout-element-overview/#display-rules

    Let me know if this helps ๐Ÿ™‚

    #919009
    Jonas

    Hi Leo,

    A big thanks for that, just what I was asking for and didn’t understand. I can now work it out even if it is going to be a sort of workaround of my problem.

    Thanks,

    #919012
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.