Custom hamburger menu links

theme-component

(Joe) #1

This is a theme component that will allow you to easily add links the hamburger menu.


Repository link
https://github.com/hnb-ku/discourse-custom-hamburger-links

Preview:
https://theme-creator.discourse.org/theme/Johani/hamburger-links


Samples

Desktop

Mobile


Settings

You add links via comma delimited values in this order:

Text,URL,Location

Text
is the name of the link that shows on the menu.

URL
is the path you want the link to have. You can use relative paths like

/tags/funny
or
/t/231

if you prefer.

Location
can have one of two values. Either the letter g or the letter f

Use “g” if you want the link to appear in the generalLinks section:

or use “f” if you want the link to appear in the footerLinks section:


How do I install this theme?

follow the official theme installation guide here:

Then add the component to your theme as a theme component and you’re all set!


Login Required activated - after successfull login it transfers you to nonexisting page
(Steven) #2

Thats a nice addition, thanks for that. It’s already installed :smiley:

Could you add a target option so that it is possible to open the link in a new tab/window (if no target is given just use “_self”)

Text,URL,Location,Target