Dynamic Menu Highlighting
-
For the past week, I have been trying to figure out how to make my website’s navigation into a dynamic menu. However, it has been a complete frustration for me. For one, I lack CSS/PHP knowledge and two, I am trying to understand the logic of PHP. I took a VB.NET course not too long ago, it gave me some hints with the if… else… statements that it wasn’t enough to make me understand some principles of PHP.
Here is the article that I read on WP.org: https://codex.www.ads-software.com/Dynamic_Menu_Highlighting
I am a little frustrated, I am hoping that someone can assist me.
First of all, when one menu is inactive, it has the following tags (class=”home” and id=”home”). If active it goes (class=”homea” and id=”homea”). I don’t know how to make it into PHP.
Thanks.
- The topic ‘Dynamic Menu Highlighting’ is closed to new replies.