Adding navigation tabs
-
I have been searching for a way to add navigation tabs that link to directories outside of wordpress.
My site is here: laloka.com/english. I am using Regulus and have found where the tabs in the header.php file are created, the code looks like this:<ul id=”nav”>
<li <?php if (((is_home()) && !(is_paged())) or (is_archive()) or (is_single()) or (is_paged()) or (is_search())) { echo “class=\”current_page_item\””; } ?> >” ><?php _e(‘english’,’regulus’); ?>
I want to add a tab that will link to laloka.com/klik and will highlight accordingly on both pages.
I started hacking but don´t know where to add the path to the “klik” directory.I also need to know how to make a tab highlight depending on whether you are on that tab or not..This is what I have:<li <?php if (((is_home()) && !(is_paged())) or (is_archive()) or (is_single()) or (is_paged()) or (is_search())) { echo “class=\”current_page_item\””; } ?> >” ><?php _e(‘klik’,’regulus’); ?>
<?php wp_list_pages(‘sort_column=menu_order&depth=1&title_li=’); ?>Can someone please help?
Thank you__Sara
- The topic ‘Adding navigation tabs’ is closed to new replies.