Thread Starter
jayred
(@jayred)
No that’s not what I’m looking for. I’m not looking to test if I’m on a subpage. I’m looking to get an array back of all of the root level pages, like the get_pages function does, except not with all of the subpages.
Can you explain how to use the c2p options? I’ve got a category called ‘Frequently Asked Questions’ that I’d like to have show up as a nav item.
Thread Starter
jayred
(@jayred)
As best as I can understand the documentation for those two functions, you have to pass them a category id, which I don’t know of a way to get automatically based on the category page the user is currently viewing.