Adding categories in Dynamic Menu Highlighting
-
I am trying to add my nine categories into my dynamic drop down menu, the horizontal bar at the top. I did the first example with home. But my “id=current” is showing up.
https://www.kiplingcitizen.com/index.php
I am trying to follow this page.
https://codex.www.ads-software.com/Dynamic_Menu_HighlightingMy problem is the “id=current”. I am not sure if this is php or css. I had inserted the following code in the “li” navigation bar for home:
- <?php
if (is_home())
{
echo ” id=\”current\”>”;
?>
/”>Home
<?php
}
?>
Of course, since this website is still in the testing stage, it will flip back to https://www.kiplingcitizen.com instead of the test page of https://www.kiplingcitizen.com/index.php
Some help would be appreciated.
- <?php
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Adding categories in Dynamic Menu Highlighting’ is closed to new replies.