Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Customising the Offcanvas Menu Walker #434

Closed
zachtownsend opened this issue Aug 28, 2015 · 1 comment
Closed

Customising the Offcanvas Menu Walker #434

zachtownsend opened this issue Aug 28, 2015 · 1 comment

Comments

@zachtownsend
Copy link

Hello,
In the previous release of FoundationPress I was able to add an element into the offcanvas menu with the following code in the Offcanvas Menu Walker:

function start_lvl( &$output, $depth = 0, $args = array() ) {
    $output .= "\n<span class=\"sub-nav-btn\">View Sub Menu</span><ul class=\"left-submenu\">\n<li class=\"back\"><a href=\"#\">". __( 'Back', 'foundationpress' ) ."</a></li>\n";
}

However, with the current release, any changes I make to the Offcanvas Menu Walker have no effect. Anyone got any thoughts?

Cheers,
Zach

@zachtownsend
Copy link
Author

Nevermind! User error!

Sorry

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants