is there a way to allow admin users to add classes to individual menu items in the back end? we have done some individual javascripting and CSS using the title tag, but that is not flexible as it is visible to the end user, so the method is not suited effects needed to be applied to multiple items.
1 Answer
This is natively supported by WordPress. In the menus page, click "Screen Options" (in the upper right corner):
Then check "CSS Classes":
You will now have a "CSS Classes" Option for each menu item:
-
-
-
@Mild Fuzz: Take a look at the DB options table and set it to true on init (should be some autoloaded option).– kaiserFeb 23, 2011 at 1:22