kongondo / MenuBuilder

Easily create navigation lists/menus using drag and drop
GNU General Public License v2.0
21 stars 9 forks source link

allow html in title field of menu item #5

Closed jlahijani closed 9 years ago

jlahijani commented 9 years ago

Sometimes it is necessary to put HTML in the title field of a menu item. For example, let's say you want to put an image or a Font Awesome icon as part of the title (instead of relying on CSS).

WordPress respects HTML inserted in a menu title and outputs it as HTML in the frontend: http://goo.gl/c14Qq5

MenuBuilder currently strips it out. The spans in the following image will get stripped upon saving: http://goo.gl/tyA97p

kongondo commented 9 years ago

Feature added (superusers only) in latest version (0.0.3)..

Note that if you previously saved the menu item titles with Markup and subsequently the menu was edited by a non-supersuser, your markukp will be stripped out upon saving.

Thanks.

kongondo commented 9 years ago

Note: As of version 0.0.4, use of the feature is permission-based (menu-builder-markup). See ReadMe for details..