Quote Originally Posted by nForc3r View Post
I need a little help with php code inside wordpress theme.

I want to add a link to top menu navigation...this code is from header.php

Code: 
<ul id="subnavbar">
            <li class="page_item<?php if(is_home()){echo(' current_page_item');} ?>"><a title="Latest" href="<?php bloginfo('url'); ?>">Home</a></li>
            <?php
                $stickyCategories = get_settings("ftoptions_sticky_categories");
                if($stickyCategories)
                {
                    foreach ($stickyCategories as $value)
                    {
                        $value = str_replace(" ", "-",$value);
                        $id = get_cat_id($value);
                        wp_list_categories('include='.$id.'&title_li=');
                    }
                }
            ?>
            <?php //wp_page_menu('show_home=0&exclude='.$q2.'&menu_class=page_item&sort_column=menu_order'); ?>
            <?php wp_list_pages('title_li=&exclude='.$q2); ?>
        </ul>
I can see that it has a "Home" link and then lists all the pages.. I just a code to add a link and point somewhere on the blog.

Any help is appreciated.
Just Add a <div>