I have the following code that I created a CSS class for the "active" page in the navigation. This way when you go to each page, it will show where you are. What php code can i use so that if it is the active page, it will use the "current_page_item" class?
PHP for navigation
4
I have the following code that I created a CSS class for the "active" page in the navigation. This way when you go to each page, it will show where you are.
What php code can i use so that if it is the active page, it will use the "current_page_item" class?
Here is my code:
What php code can i use so that if it is the active page, it will use the "current_page_item" class?
Here is my code:
PHP Code:
<li class="current_page_item"><a href="index.php"><span>Home</span></a></li>
- Michael W
- jrod11
- jrod11
Next Topics on Trending Feed
-
4