• Resolved LS

    (@lsterling03)


    Hi, I saw an old post about this, but wondering if anything has been added to accomplish it? I am using a split menu to show the subpages of the current parent, and I need to include the parent menu item name and link as well. Is this possible yet? I can’t use the current page parent because it doesn’t always match the menu parent, so I need it to come from the menu.

    Thank you!

    • This topic was modified 2 years, 5 months ago by LS.
    • This topic was modified 2 years, 5 months ago by LS.
Viewing 1 replies (of 1 total)
  • Plugin Author Matt Keys

    (@mattkeys)

    Nothing built into the plugin, but if your page structure matches your menu structure you could do something using WordPress get_ancestors() function to get the ID of the parent page, and then user get_permalink get_the_title with that parent ID to build what you are looking for.

Viewing 1 replies (of 1 total)
  • The topic ‘Include parent in submenu?’ is closed to new replies.