Drop down menu - how to add it in my already finished theme?


Author Message
Michael

Posted: 7/18/2009
Quote message 

Hi,
I have made my theme about 3 months ago and changed alot since then directly in the php code in WordPress.
My theme currently uses only a normal Navigation bar with just the links to the site and without a drop down menu to show the subpages.

Now I also want to have the drop down menu and I would like to add it. So I have made one in Artisteer using my 3 months old theme. But how can I add this drop down menu to my theme that I am already using in WP?
I could not find the lines that I have to copy in my old code so the drop down menu appears.

Would be great if someone could assist me with this!
 
Garry

Posted: 7/18/2009
Quote message 

Following code generates navigation menu in Artisteer generated themes, you can remove it and add navigation code from your another theme:

<div class="nav">
<ul class="artmenu">
<?php art_menu_items(); ?>
</ul>
<div class="l">
</div>
<div class="r">
<div>
</div>
 
Michael

Posted: 7/20/2009
Quote message 

Thank you, I have found the code in the header.php
But this code is always the same even in another theme, so I guess there is another code to change and this one is pointing there.
I don't know php very well so I hope you could help me just a bit more... :)
 
Garry

Posted: 7/20/2009
Quote message 

I think your another theme is also designed in Artisteer, if yes you need to open your functions.php and look for function art_menu_items( ) (about line 223 onwards)

Remember your header.php just call function art_menu_items() but it is defined in your functions.php