Releases: lokothodida/gs-custom-menu
Releases · lokothodida/gs-custom-menu
v0.6.2
v0.6.1
Changelog
- If a menu item uses a slug instead of a URL, the canonical URL is generated automatically when the menu is displayed (#3)
- Fixed bug whereby slugs always had a random suffix (and thus never pointed to the correct page; not sure why this was in the original code)
- Code refactor: moved class methods out of
CustomMenu
into separate classes, removed unused methods, generalised and explained JavaScript code for admin UI
v0.6
v0.5
Update README.md
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: PHP Code: <?php get_custom_menu($menu, $classes=array('currentpath' => 'newcurrentpath', ...)); ?> -- 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
v0.31
- - Attempt to fix foreach loop error that GS member ohayo picked up
v0.2
- Transliteration added
v0.1
Uploaded