Get Parent Slug
-
Hey,
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.Dan
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Get Parent Slug’ is closed to new replies.