wordpress navigation help

I have a website that consists of the following areas,

  • Home
  • About Us
  • Project Management
  • Small Works
  • Testimonials
  • Contact Us
  • Current Projects

My issue is that I can display a navigation bar fine, however the Current Projects is not acutally a page, it is more of a category that has a collection of posts, how can I add this to my nav bar, so that when a user clicks to see the current projects, it shows the titles of the posts that are in the current_projects category? Any help would be great.


Just add this and the users will be pointed to /category/current-projects

<?php wp_list_categories('title_li=&depth=1'); ?>

A more in-depth:

 <?php wp_list_pages('sort_column=menu_order&title_li='); ?> // This will output all pages.
 <?php wp_list_categories('title_li=&depth=1'); ?> // This will output all categories.

You can exclude categories from showing by adding &exclude=5,6,7 (5,6,7 being the categories ID's that you want to exclude. or &include=3,2,1)

It generates HTML like:

    <li><a href="" title="">Page One</a></li>
    <li><a href="" title="">Page Two</a></li>
    <li><a href="" title="">Page Three</a></li>
    <li><a href="" title="">Page For</a></li>
    <li><a href="" title="">Category One</a></li>

Need Your Help

Can't render unicode characters with Graphics2D even though they are supported by the font

java unicode fonts awt graphics2d

I try to render text to a BufferedImage and that works quite great but I can't render any characters that are not ASCII (at least as far as I can see). All I could find was that it's because of the...

Removing Double Quotes from JSON String

php xml json xslt

I am taking an xml file that looks like this

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.