About Sridhar Katakam
I am an independent WordPress web consultant with 10 years of experience in WordPress theme installation, customization, administration, maintenance, support, documentation, troubleshooting and PSD/design to WP.
Genesis and WordPress Tutorials
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.
Hi Sridhar
This is exactly what i was looking for. Thank you. is it possible to do this to my secondary navigation?
Where it says. “primary” change it to “secondary” and it should work.
Thanks Amy. It worked.
I copied exactly what you have and got this:
Fatal error: Cannot redeclare class Menu_With_Description in /home/ganeshde/public_html/wp-content/themes/executive-v2/functions.php on line 216
Never mind – it works now.
I’d like to have the descriptions for a Custom Menu in the widget area. What needs to be tweaked (or maybe the primary navigation needs to be repositioned)?
http://www.sridharkatakam.com/display-custom-menu-menu-descriptions-icons-wordpress-widget/
[…] my previous post titled Adding Navigation Menu descriptions in Genesis, Amy asked in the comments as to how menu items descriptions can be shown when using a custom menu […]
I’m using my secondary navigation. Would I change function sk_primary_menu_args to sk_secondary_menu_args to get it to work?
can this be done in genesis eleven40 , it doest have description box in menu area
Hi Sridhar, How about mega/uber menus without using a plugin?
Hi Sridhar, How about mega/uber menu’s without using a plugin?
Hey Sridhar,
Currently this returns an error related to the function signature:
Error: Declaration of Menu_With_Description::start_el() should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0)
Got the same error message after updating to PHP 7.0
Make a backup first!
Then, find this line in the
Menu_With_Description
class file:function start_el(&$output, $item, $depth, $args) {
and replace it with this:
function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {