I am making a theme, and I want to include different menu’s depending on the parent slug…
For example if the user is on a page like
/cat1/my-page/ -> It will show menu 1
/cat2/my-page/ -> Will show the menu for cat2?
I can find any function to allow this?
Does anyone know how I can fix this problem.
- The topic ‘Get Parent Slug’ is closed to new replies.