WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
[resolved] Move Menu (10 posts)

  1. Gregg Franklin
    Member
    Posted 1 year ago #

    Is it possible to move the menu item "Events" under the Comments menu item? Possibly with a hook?

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    Hey Gregg. I think this is doable; while the request probably falls outside the realm of what we normally can support for free users (as it's more customization than a bug), I know Jonah from our team has helped folks out with this in the past...let me see if he has a link to an existing thread he can share with you.

  3. jonahcoyote
    Member
    Posted 1 year ago #

    Hey Gregg,

    The easiest way to do this is with this plugin: http://wordpress.org/extend/plugins/admin-menu-editor/

    I hope that helps!

    - Jonah

  4. Barry
    Member
    Posted 1 year ago #

    You all set here Gregg?

  5. Gregg Franklin
    Member
    Posted 1 year ago #

    Hi Barry, jonahcoyote solution with a plugin could work but I am a developer and was just looking for where the function is that places the events menu in the current location. Thanks for for following up. :-)

  6. Barry
    Member
    Posted 1 year ago #

    Sure, well in that case we'll leave you to determine your own solution, as Rob noted we can't really spend too much time or go into too much depth here - and you can of course default to Jonah's solution if needs be.

    Thanks!

  7. Gregg Franklin
    Member
    Posted 1 year ago #

    ok Thanks

  8. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    Thanks for confirming, Gregg Franklin. Sorry we couldn't offer up more here.

  9. mrwweb
    Member
    Posted 1 year ago #

    Gregg,

    As noted everywhere, the admin menu is a total pain to modify except with plugins like the one linked above which is suboptimal for other reasons. This makes me feel slimy, but this will work:

    function move_tec_menu_item() {
    
    	global $menu;
    
    	$menu[40] = $menu[6];
    	unset($menu[6]);
    
    }
    add_action( 'admin_menu', 'move_tec_menu_item', 9999 );

    That 40 puts it below comments and above the divider. Check out the "Positions for Core Menu Items" section on the add_menu_page() Codex Page for a guide to the various possible position numbers.

  10. Gregg Franklin
    Member
    Posted 1 year ago #

    Thanks mrwweb I will give that a shot. The feeling slimy had me laughing.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic