StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-09-2009, 03:24 AM
spikeygoat spikeygoat is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Jun 2009
Posts: 2
Default Modding the Nav Bar

Hi,

I use categories and sub categories a lot and would like to have the parent categories as links in the nav bar (removing the standard "Categories" altogether) and for the child categories to appear in the drop down menu. I would also like to keep the ability to have static pages in the nav bar. I think the mod needs to be made in the header.php file to this section of code:

Code:
	<div id="navbarleft">
		<ul id="nav">
			[*]Home
			<?php wp_list_pages('title_li=&depth=4&sort_column=menu_order'); ?>
			[*]Categories
				<ul><?php wp_list_categories('title_li=&depth=4&orderby=name'); ?>[/list]			[/list]	</div>
but haven't got a clue how to go about it. Anyone got any suggestions please.

Ta,

Gav
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:25 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.