WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Ozh' Admin Drop Down Menu] Need help to add a menu choice (1 post)

  1. DougJoseph
    Member
    Posted 4 years ago #

    Ozh

    I just sent you a PayPal love offering as a thanks. Awesome plugin!

    In Category Menu is where I’d like to add a menu choice labeled something like “Edit Categories” and have it point to http://wvupci.net/wp-admin/edit-tags.php?taxonomy=category

    (Reason is that by combining two plugings, I no longer have a link to that anywhere in the menu.)

    I found some code on your site, but I can't understand how to implement it. I am not building a plugin, just a child theme of Twenty Ten. I do have access to a functions.php for the child theme. Can I put the code there? And what code should go there? Below is some "ghost code" based on tweaking your plugin code suggestion. I have no clue how to get it from wrong to right.

    // Add a page like usual
    
          add_options_page('Edit Categories', '???? No Plugin ????', 10, '???? No Plugin ????', 'http://wvupci.net/wp-admin/edit-tags.php?taxonomy=category');
    
          // Add a cool icon
    
          add_filter( 'ozh_adminmenu_icon_myplugin', 'myplugin_icon');
    
          function myplugin_icon() {
    
              return 'http://path/to/icon.png';
    
          }

    http://wordpress.org/extend/plugins/ozh-admin-drop-down-menu/

Topic Closed

This topic has been closed to new replies.

About this Topic