• Hi there,

    I am creating a custom menu with an added description for each menu item… it is almost perfect, the only problem is that the current menu item isn’t being classed as ‘current_page_item’ and I can’t work out how to get it in there!

    If someone can help me, I will be a very happy girl! I just want to add ‘current_page_item’ as a class on the list item that is the current page but have no idea where to start.

    Thanks in advance!
    zo

    [code moderated - use the pastebin for any code over the forum limit of 10 lines]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Getting current_page_item into my function’ is closed to new replies.