Support » Themes and Templates » Editing my theme

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Billkoe. You simply need to add another item to the menu. Open your nav.php and put the following at before the close ul tag:

    <li><a href="<?php bloginfo('rss2_url'); ?>">Subscribe</a></li>

    Here’s what the whole thing should look like when you are finished:

    <!-- Navigation -->
      <div id="nav">
        <ul class="sf-menu">
          <li><a href="#">Categories</a>
            <ul>
    			<?php wp_list_categories('orderby=name&title_li='); ?>
            </ul>
          </li>
          <li><a href="#">Pages</a>
            <ul>
            	<?php wp_list_pages('orderby=name&title_li='); ?>
            </ul>
          </li>
          <li><a href="#">Contact</a>
            <ul>
              <li><a href="#">1-800-867-5309</a></li>
              <li><a href="mailto:you@email.com">you@email.com</a></li>
            </ul>
          </li>
          <li><a href="#">Search</a>
            <ul>
              <li><?php if(function_exists('get_search_form')) : ?>
    				<?php get_search_form(); ?>
    				<?php else : ?>
    				<?php include (TEMPLATEPATH . '/searchform.php'); ?>
    				<?php endif; ?></li>
            </ul>
          </li>
          <li><a href="<?php bloginfo('rss2_url'); ?>">Subscribe</a></li>
        </ul>
      </div>

    Hi Billkoe. You simply need to add another item to the menu. Open your nav.php and put the following before the close ul tag:

    <li><a href="<?php bloginfo('rss2_url'); ?>">Subscribe</a></li>

    Here’s what the whole thing should look like when you are finished:

    <!-- Navigation -->
      <div id="nav">
        <ul class="sf-menu">
          <li><a href="#">Categories</a>
            <ul>
    			<?php wp_list_categories('orderby=name&title_li='); ?>
            </ul>
          </li>
          <li><a href="#">Pages</a>
            <ul>
            	<?php wp_list_pages('orderby=name&title_li='); ?>
            </ul>
          </li>
          <li><a href="#">Contact</a>
            <ul>
              <li><a href="#">1-800-867-5309</a></li>
              <li><a href="mailto:you@email.com">you@email.com</a></li>
            </ul>
          </li>
          <li><a href="#">Search</a>
            <ul>
              <li><?php if(function_exists('get_search_form')) : ?>
    				<?php get_search_form(); ?>
    				<?php else : ?>
    				<?php include (TEMPLATEPATH . '/searchform.php'); ?>
    				<?php endif; ?></li>
            </ul>
          </li>
          <li><a href="<?php bloginfo('rss2_url'); ?>">Subscribe</a></li>
        </ul>
      </div>
    Thread Starter billkoe

    (@billkoe)

    Thanks… It worked perfectly!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Editing my theme’ is closed to new replies.