• Resolved gadeterbob

    (@gadeterbob)


    I’m trying to get a manual link I’ve added to the theme.php file to be styled alike (same hover and highlight behavior). ‘Bout out of ideas, altitude and airspeed at the same time.

    <?php if (is_page()) { $highlight = ""; } else {$highlight = "current"; } ?>

    <div id="mainmenu">
    <ul class="level1">
    <li class="<?php echo $highlight; ?>"><a href="http://www.farmbox.com/v/">Photo Album</a></li>

    <li class="<?php echo $highlight; ?>"><a href="<?php echo get_settings('home'); ?>"><?php _e('Home','andreas09'); ?></a></li>
    <?php
    if(function_exists("wp_andreas09_nav")) {
    wp_andreas09_nav("sort_column=menu_order&list_tag=0&show_all_parents=1&show_root=1");
    }
    ?>

    </div>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Manual Link and Automatic Link Styled Alike?’ is closed to new replies.