Add widget code to a menu item

Hi

I’m trying to add a ‘Login/Register’ icon to my menu bar but I need it to trigger some javascript code which opens a login window in a lightbox.

So far I’ve added the icon to the menu bar but I can’t work out where to put the widget code.

My test site is: 2018.portsmouthmusicacademy.co.uk

Thanks for your support!

Hi There,

The WordPress menu items doesn’t allow the HTML code.

That is technically possible. However, that would fall beyond the scope of our support since it would require custom development. You need to contact the 3rd party developer to help you with this.

Thank you for understanding.

Ok, thanks for your help, I’ll find another work around

You’re welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.