Category Drop Down Menu

shawnlg777

New Member
I want to put the categories in my header menu. I would like to create a category drop-down menu that I can put in my header. Has anyone created one that I can have the code for? I am good with HTML but am very green with PHP. Any help would be appreciated. Thanks in advance.
 

cajkan

Active Member
Hello @shawnlg777 you can do manual style, into your wrapper.html

You can add your links:
a href="example.com/category/name/"
a href="example.com/category/name2/"

But if you like them to be dynamic then you need some PHP
 

shawnlg777

New Member
Great! Thanks for the help. I was indeed hoping I could do it dynamically. I think I need PHP. Thanks!

Shawn
 

Mark

Administrator
Staff member
{$category_menu} does that pre-built template tag get you where you need to be? you can nest this UL inside your dropdown <li>
 

shawnlg777

New Member
I will give it a try. I just did it statically but will give it a try the way you suggested. Thanks, Mark, as always.

Shawn
 
Top