Plugin Name
开发者 |
valentinas
|
更新时间 |
2010年8月23日 23:57 |
捐献地址: |
去捐款 |
PHP版本: |
3.0 及以上 |
WordPress版本: |
3.0 |
详情介绍:
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.
安装:
- Upload
menu-item-ancestor
folder or menu-item-ancestor.php
file 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
更新日志:
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