Making a Categories Drop-Down Menu

May 15, 2008

Tired of your old navigation?  So, what about creating a Magazine-style dropdown menu? I propose here a dropdown menu listing your pages and sub pages, including one last item to show up your categories directly in the menu. HTML and PHP We will start by using WordPress core functions in order to retrieve our pages and categories. Edit the header.php of your theme, and replace your old nav code by this one: <ul id="nav" class="clearfloat"> <li><a href="<?php echo get_option('home'); ?>/" class="on">Home</a></li> <?php... [Read the full story]

Displaying WordPress categories in a horizontal dropdown menu

May 6, 2008

One thing more WordPress bloggers have been doing lately is moving their categories over to a horizontal menu, rather than displaying them in the sidebar. Depending on the type of blog you run and how well you keep your categories organized, I think this can be a great idea to help manage the website and improve overall navigation. Doing something like this allows for a much better use of sub-categories, and gives you the option of displaying them in a drop-down to give your blog a much more professional feeling. If you... [Read the full story]

Page 2 of 2«12