Home Page
This plugin allows you to use the WP Menubar Plugin as a replacement for the default Thesis 1.6 menubar. It basically loads the default output of that menubar plugin, then runs it through some minimal filters to get the main CSS hooks from Thesis attached to it. This allows you to have a menu that mixes pages and categories within sub-menus, but still style that menu with the Thesis Admin.
Thesis/Menubar Integration is by Clark Code & Design. WP Menubar is by Andrea at dontdream.it. There’s no relation between the two. Thesis/Menubar Integration just allows Andrea’s plugin to integrate nicely into a Thesis theme.
Like this plugin? Buy me some coffee! It’s what plugins are made of.
Setup
New in version 0.4.0: No modifications are needed to custom_functions.php. The plugin will automatically detect where the default Thesis Navigation is located, and use the appropriate hooks to replace it for you. If you understand hooks or followed directions from a previous version, the plugin will still work appropriately.
Requirements: Thesis 1.6 and PHP5. If you get “Parse error: syntax error…” when you enable the plugin, you are running PHP4.
- Install and activate Menubar (Plugin #1).
- Install and activate Thesis/Menubar Integration (Plugin #2).
- Install Suckerfish or Superfish from the Menubar Templates at dontdream.it. (Directions here)
- Create and populate a menu called thesis-nav under WP-Admin > Appearance > Menubar. (Tools > Menubar if you’re running Menubar version 3.x or older)
Make sure to use the template “without CSS”. - You’re done! Ignore the “do_action” code given by the Menubar plugin. No code changes are necessary.
Download
Thesis/Menubar Integration
Menubar Plugin Page
Menubar Templates
Changelog
| 0.4.2 | Updated AutoHook to detect OpenHook. Updated activation and deactivation functions to modify OpenHook values if used to move thesis_nav_menu. Thanks to seosteve for pointing these issues out. |
| 0.4.1 | Fixed a potential incompatibility with Pods CMS generated pages. |
| 0.4.0 | Add auto_hook: Detect where thesis_nav is located and automatically replace it. |
| 0.3.0 | Add Superfish detection Adjust character weights for centered tabs Revise documentation, include links to Menubar templates page Add license Fix current tab detection Fix current sub-page detection Fix current sub-category detection Add option to use centered feature on Thesis navigation Detect if a user accidentally puts “thesis_nav” instead of “thesis-nav” as the menu ID |
| 0.2.2 | Updated .current for use with Suckerfish 4.1 template. Still works with old version as well. |
| 0.2.1 | Fix .children and .current bugs, moved .tab to top <li>’s only. |
| 0.2.0 | Update for Thesis 1.6 beta 2, Added experimental centered tabs option |
| 0.1.2 | Fix bug that caused “tab” class to only be added to first tab |
| 0.1.1 | Fix documentation — Need to use Suckerfish Template without CSS |
| 0.1.0 | Initial version |
Centered Tabs
Version 0.2.1 adds a method for automatically calculating tab widths to completely fill a certain width, like thesignfactoryusa.com:

Example code for doing this in custom_functions.php would include the normal hooks, plus this snippet:
if (class_exists('PdNav')) {
$pd_nav = new PdNav;
$pd_nav->padding = '7,9,7,9'; // Match to any tab padding you've set in CSS (top,right,bottom,left)
$pd_nav->border = 1; // Match to any tab border you've set in CSS
$pd_nav->centered = true;
$pd_nav->width = 950; // Match this total width of your layout
//$pd_nav->use_thesis_nav = true; // Uncomment this line to center default Thesis Navigation instead of Menubar
}
Demo
The menu on this page is showing output from the Menubar plugin using Thesis styling. The colors in the navigation have been changed through Thesis Options > Design Options > Nav Menu.
Here’s what the menu looks like in the Menubar backend:

And the Thesis Design panel:

Comments on this entry are closed.