I am using one of the new reseller WP themes, and went to add a menu link via the "Editor" option on wordpress, editing the header file.
I wanted to add one link, which would say "Special Offers", which could contain stuff such as the free domain offers, price changes, etc.
The only thing wrong, is I cannot get it to turn to an "Active" link when on the page like the others...
If you look at my website, and go to the 'Special Offers' link, you will see what I'm talking about.
Here is the code used for the "Home" link/button:
And here is the code for the "Special Deals" link/button:
Does anyone know what I would need to add to make it show as active when they are on the Special Offers page?
I wanted to add one link, which would say "Special Offers", which could contain stuff such as the free domain offers, price changes, etc.
The only thing wrong, is I cannot get it to turn to an "Active" link when on the page like the others...
If you look at my website, and go to the 'Special Offers' link, you will see what I'm talking about.
Here is the code used for the "Home" link/button:
Code:
<li class="menu-item menu-item-type-post_type menu-item-object-page<?php if(is_home() or is_front_page()) echo $curr_menu_class;?>"><a href="<?php echo bloginfo('url');?>">Home</a></li>
Code:
<li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="http://hostingmy.net/special-offers/">Special Offers</a></li>
Comment