Menu
Hello,
I wonder how to get a snippet from a url.
For example:
If the url = domain.com/Menu_item_1 the menu has to be …
[B]Menu item 1
… but if the url = domain.com/Menu_item_3 the menu has to be …
Menu item 1 – Menu item 2 – [B]Menu item 3
So I thought to add an .active css class to the menu item which is active according to the URL … or isn’t it the best way to accomplish this?
I’m rather a beginner so I don’t know the conventional way to do stuff like this? But I’m eager to learn ?
Christophe