2013-08-24, 18:39:09
Changelog (v0.4)
- Classes for current path, current item, parents (equivalent of hasChildren) and children (terminating items) added
- Main PHP Function now has $classes parameter for you to set your own names for the classes above:
-- The array's keys correspond to the class names. The values correspond to the new values that they will take.
-- Available keys: currentpath, current, parent, child
- Classes for current path, current item, parents (equivalent of hasChildren) and children (terminating items) added
- Main PHP Function now has $classes parameter for you to set your own names for the classes above:
PHP Code:
<?php get_custom_menu($menu, $classes=array('currentpath' => 'newcurrentpath', ...)); ?>
-- Available keys: currentpath, current, parent, child