• Wordpress help needed
    1 replies, posted
you can see my website here at[code] www.edgeset.elementfx.com[/code] and as you can see the top navigation bar only displays categories that are being used in my blog posts.. now I want to change it so that the top-navigation bar displays pages instead..but I don't know what to change inside the header.php file.. the code to header.php is here [code]<div id="header"> <div id="blog-logo" class="clearfix"> <h1 id="blog-title"><a href="<?php bloginfo('url'); ?>"><? bloginfo('name'); ?></a></h1> <h2 id="blog-description"><? bloginfo('description'); ?></h2> </div> <ul id="menu" class="sf-menu clearfix"> <li class="cat_item<?php if(is_home()) echo ' pagenav'; ?>"><a href="<?php bloginfo('url'); ?>">Home</a></li> <?php wp_list_categories('title_li=&sort_column=menu_order'); ?> </ul> <div id="rss"> <a href="<?php bloginfo('rss2_url'); ?>">Subscribe to RSS Feed</a> </div>[/code] I'd appreciate it very much if someone could explain to me what is needed to change in order for the top-nav bar to display pages instead of active categories. thanks in advance
[code]<?php wp_list_categories('title_li=&sort_column=menu_order'); ?>[/code] Change it to [code]<?php wp_list_pages(); ?>[/code]
Sorry, you need to Log In to post a reply to this thread.