Creating a simple plugin (addclass)
-
I would like to create a simple plugin for menu items.
Case: I want to add a toggle buttons under every menu item:
1. Display on desktop: YES – NO,
2. Display on mobile: YES – NO.if 1. YES, add a custom predefined class,
if 1. NO, add a custom predefined class,
if 2. YES, add custom predefined class,
if 2. NO, add a custom predefined class.
- The topic ‘Creating a simple plugin (addclass)’ is closed to new replies.