New hamburger menu plugin #213
richi
started this conversation in
See what's new
Replies: 2 comments
-
Good work. About your question, do you have to generate the HTML code twice for the navigation? I checked what a couple of websites do. Here's what I found out:
It looks like one navigation is enough for most web designs, two navigations give more flexibility. |
Beta Was this translation helpful? Give feedback.
0 replies
-
For saving bandwidth it is always better, to create as less data as possible. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since I need the sidebar on mobile devices as well, I have put together a small plugin that implements a "hamburger menu" for mobile navigation. It does work together with the default themes and can easily be adapted to more "foreign" themes.
Have a look at:
https://github.com/richi/yellow-plugin-burger-menu
On a custom theme this is of course not an issue, but because of the html structure of the default themes, right now the menu etc. has to be generated twice. Any ideas how this could be overcome?
Cheers, richi
Beta Was this translation helpful? Give feedback.
All reactions