<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>THE MOLITOR FORUMS &#187; Topic: Adding a second menu - categories</title>
		<link>http://www.themolitor.com/forums/topic/adding-a-second-menu-categories</link>
		<description>THE MOLITOR FORUMS &#187; Topic: Adding a second menu - categories</description>
		<language>en-US</language>
		<pubDate>Tue, 28 Apr 2026 09:42:20 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.themolitor.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.themolitor.com/forums/rss/topic/adding-a-second-menu-categories" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "Adding a second menu - categories"</title>
			<link>http://www.themolitor.com/forums/topic/adding-a-second-menu-categories#post-31166</link>
			<pubDate>Mon, 06 Oct 2014 15:24:29 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">31166@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Sorry, but that goes a bit beyond the level of support I'm able to provide here in the forums. If it was something I knew off the top of my head I would gladly help, but if it requires a bit of research, testing and custom code then I have to refer you to the customization request form: <a href="http://themolitor.com/custom" rel="nofollow">http://themolitor.com/custom</a></p>
<p>Hope you understand.</p>
<p>Thanks!</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>dgt on "Adding a second menu - categories"</title>
			<link>http://www.themolitor.com/forums/topic/adding-a-second-menu-categories#post-31165</link>
			<pubDate>Mon, 06 Oct 2014 15:06:12 +0000</pubDate>
			<dc:creator>dgt</dc:creator>
			<guid isPermaLink="false">31165@http://www.themolitor.com/forums/</guid>
			<description><p>Good afternoon,</p>
<p>On one of my new sites, I am adding a second menu to the B+M theme. You can see it here, underneath the primary menu and logo:<br />
<a href="http://mobileosnews.com" rel="nofollow">http://mobileosnews.com</a></p>
<p>I'm currently using wp_list_categories to retrieve the specific category IDs I need, and am formatting it just like with the dropmenu. My code so far is pretty straight-forward:</p>
<pre><code>&#60;div id=&#34;headerContainer&#34;&#62;

	&#60;div id=&#34;header&#34;&#62;

		&#60;?php if($logo){ ?&#62;
		&#60;a&#62;&#34;&#62;&#60;img src=&#34;&#60;?php echo $logo; ?&#62;&#34; alt=&#34;&#60;?php bloginfo(&#039;name&#039;); ?&#62;&#34; /&#62;&#60;/a&#62;&#60;!--end logo--&#62;
		&#60;?php } ?&#62;

		&#60;?php if (has_nav_menu( &#039;main&#039; ) ) { wp_nav_menu(array(&#039;theme_location&#039; =&#62; &#039;main&#039;, &#039;container_id&#039; =&#62; &#039;navigation&#039;, &#039;menu_id&#039; =&#62; &#039;dropmenu&#039;)); }?&#62;

		&#60;div class=&#34;clear&#34;&#62;&#60;/div&#62;

		&#60;div id=&#34;categories_menu&#34;&#62;
			&#60;?php { wp_list_categories ( &#039;&#38;orderby=ID&#38;show_count=0&#38;hide_empty=0&#38;exclude=1,14&#38;style=list&#38;title_li=&#039; ); }?&#62;
		&#60;/div&#62;

	&#60;/div&#62;&#60;!--end header--&#62;
&#60;/div&#62;&#60;!--end headerContainer--&#62;</code></pre>
<p>And from style.css:</p>
<pre><code>#dropmenu li a { display: block; line-height: 20px; font-size: 14px; font-weight: bold; text-transform: uppercase; color: #33647d; margin-top: 20px; }
#dropmenu li a:hover { background-color: #33647d; color: #ffffff !important; }
#sidebarAccent { background-color: #33647d !important; }
#footer #copyright { 	background-color: #33647d !important; color: #ffffff !important; }
#categories_menu {list-style:none; position:relative; width:100%; z-index: 400; margin-top: 15px; }
#categories_menu li {list-style:none;   position:relative; float: left; line-height: 20px; width: 126px; margin-left: 30px;}
#categories_menu li a { display: block; line-height: 20px; font-size: 14px; font-weight: bold; text-transform: uppercase; color: #33647d; }
#categories_menu li a:hover {text-decoration: none; color: #ffffff !important; background-color: #33647d; }
#categories_menu li ul {list-style:none; display:none; position:absolute; width:180px; z-index:300; top:20px; left: 0; background: #fff; padding: 5px 0;}
#categories_menu li ul li {position:relative; margin: 0;}
#categories_menu li ul li a {line-height: 30px; padding: 0 15px;}
#categories_menu li ul li ul {}
#categories_menu li:hover ul ul,
#categories_menu li:hover ul ul ul,
#categories_menu li:hover ul ul ul ul {display:none;}
#categories_menu li:hover ul,
#categories_menu li li:hover ul,
#categories_menu li li li:hover ul,
#categories_menu li li li li:hover ul {display:block;}
#categories_menu li.current-menu-item &#62; a,
#categories_menu li.current-menu-ancestor &#62; a {color: #000;}</code></pre>
<p>It's working just fine, except that I hate how limiting wp_list_categories is. In particular, I have no control over the specific display order the categories, having to choose between ID, Name/alpha, post count, etc. I need them ordered in a specific way. I've seen some hacks floating around StackExchange for creating new DB tables so you can add a custom field to taxonomies, and then retrieving the array of categories before putting them into another array that filters them based off a value you specify in the custom field. Clever! But waaaaaaaaaay more effort than I care to expend on this.</p>
<p>I'm wondering though if there is any way I can use wp_nav_menu instead. I have a menu of categories already created in wp-admin, ordered the way I need to be. But it doesn't seem to me like B+M has support for custom menus other than the primary/main menu.</p>
<p>Is this accurate, or should I be able to use the WP menu system and add a second menu to my B+M child theme?</p>
<p>I know as a very last resort I could always add the categories to a dropdown in my main menu, but I really wanted the most important categories to be side-by-side, and not on the same level as the main menu.</p>
<p>dt
</p></description>
		</item>

	</channel>
</rss>
