Admin-menu won't dis-collapse anymore
-
I need a “only-toplevel” Admin menu item. So there is no Page, I just need to trigger a action. It actually works expect, that after collapsing the menu it won’t open, after being collapsed once.
function clearcachify_menue() { ?> <li class="wp-menu-separator"><div class="separator"></div></li> <li class="menu-top"> <div class="wp-menu-image"> <a href="<?php print $GLOBALS['cache-clear-uri']; ?>"> <img title="Clear cache" src="/wp-admin/images/generic.png"> </a> </div> <a href="<?php print $GLOBALS['cache-clear-uri']; ?>" class="menu-top">Clear Cache</a> </li> <?php }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Admin-menu won't dis-collapse anymore’ is closed to new replies.