If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Is there any way to specify additional attributes for the links in a menu? I’d like to be able to specify an ‘onClick=”script: Zenbox.show(); return false;”‘ attribute, but the menu field is stripping non url permissable characters (spaces, and quotes). If I tried to specify this via css, is their a specific class I should reference?
Example of what I’d like to load:
Or is there a way to paste PHP into the menu address field without it being stripped out?
You must be logged in to reply to this topic.