Home Page
This plugin allows you to use the WP Menubar Plugin as a replacement for the default Thesis 1.6 – 1.7 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
Requirements: Thesis 1.6 or 1.7 and PHP5.
- 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.
Templates should be uploaded to a folder you create atwp-content/plugins/menubar-templates
If you have done this correctly, the structure of your plugins folder should now look like this:- wp-content
- plugins
- menubar
- menubar-templates
- Suckerfish_XX (folder)
- Superfish (folder)
- thesis-menubar-integration
- wp-content
- Go to Appearance > Menubar in your WordPress Admin interface.
- Click “Add New Menu”.
- Set name to thesis-nav and select a Template that is “without CSS” .
- You’re done! No code changes are necessary.
Download
Thesis/Menubar Integration
Menubar Plugin Page
Menubar Templates
Changelog
| 0.4.7 | Really fix bug that caused menu load to fail. (Thanks to Riccardo Zulian) |
| 0.4.6 | Fix bug that caused menu load to fail. |
| 0.4.5 | Don’t check for Menubar if Thesis Nav is being used Notify if Menubar is coming out empty to avoid fatal error (caused by error with Menubar 4.7 and WordPress 3.0 Beta 2) (Thanks oldeyaleblue) Remove simplehtmldom docs |
| 0.4.4 | Added a formal PHP version check and warning when PHP < 5 is detected. |
| 0.4.3 | Added javascript to remove instructions from the Menubar plugin that should be ignored. Added some clarifying messages to help users in the install process. Added an error if a user fails to name a menu “thesis-nav” |
| 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:
function pd_nav_edit() {
if (class_exists('PdNav')) {
global $pd_nav;
$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
}
}
add_action('template_redirect', 'pd_nav_edit');
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.