• 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.

    • This topic was modified 2 years, 8 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
  • The topic ‘Creating a simple plugin (addclass)’ is closed to new replies.