prose theme uber menus

Community Forums Forums Design Tips and Tricks prose theme uber menus

This topic is: resolved

This topic contains 4 replies, has 3 voices, and was last updated by  Clevaweb 10 months, 3 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #40959

    Clevaweb
    Participant
    Post count: 10

    Has anyone managed to get uber menus working in prose ?

    The filters they suggest as follows just bombs out my site with a 500 error`
    `

    http://sevenspark.com/docs/ubermenu-genesis

    `/* Child Theme’s functions.php */`
    `add_filter( “’genesis_do_nav’“, “’genesis_child_nav’“, 10, 3 );`
    `function` `genesis_child_nav(“$nav_output“, “$nav“, “$args“){`
    `    “return` `$nav“;`
    `}`

    and

    `add_filter( “’genesis_do_subnav’“, “’genesis_child_nav’“, 10, 3 );`
    `function` `genesis_child_nav(“$nav_output“, “$nav“, “$args“){`
    `    “return` `$nav“;`
    `}`

    Help appreciated :)

    • This topic was modified 1 year, 4 months ago by  Clevaweb.
    • This topic was modified 1 year, 4 months ago by  Clevaweb.
    http://www.haloweb.co.za
    #41079

    wendycholbi
    Participant
    Post count: 120

    I don’t have Ubermenus so I can’t test this, but this seems like something to address with Ubermenu support since it’s a premium plugin.

    Make sure they know you’re using Prose, which does have some important differences from other Genesis child themes (such as the fact that PHP snippets like these should be pasted into the Genesis –> Custom Code –> Custom Functions field instead of the theme’s functions.php file).


    I love WordPress, Genesis, and the Prose child theme (my complete guide to using Prose is here: SiteSetupKit.com). Say hi on Twitter: @wendycholbi

    #41138

    Clevaweb
    Participant
    Post count: 10

    Hi Wendy,

    Thank you for your help :) I discovered I only needed to use the second filter I mentioned.

    #72310

    thecolab
    Participant
    Post count: 10

    Did you finally manage to get uber menu working?

    I’m using Minimum Pro and uber menu works with the primary menu but not with the header top right menu added in through widget. None of the codes they give helps at all.

    #72332

    Clevaweb
    Participant
    Post count: 10

    I did get it working in the prose sub nav using

    add_filter( ‘genesis_do_subnav’, ‘genesis_child_nav’, 10, 3 );
    function genesis_child_nav($nav_output, $nav, $args){
    return $nav;
    }

    you may just want to edit that according to your needs :)

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.