Beskrivning
This plugin is for developers and designers who want to have a separate class for menu items with children.
This plugin adds a menu-item-ancestor class to every menu item that has descendants.
Alows to use CSS to style only those menu items, that has descendants. For example you can add different background or different hover behavior.
Installation
- Upload
menu-item-ancestorfolder ormenu-item-ancestor.phpfile to the/wp-content/plugins/directory - Activate the plugin through the ’Plugins’ menu in WordPress
- Use CSS menu-item-ancestor class to select and style menu items that have descendants
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”Menu-item-ancestor” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Menu-item-ancestor” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.1
- Fixed the menu logic. The first version wrongly asumed that menu item stored it’s parent in posts table, when it’s actually is stored in postmeta table.
1.0
- Big bang. Time starts.