WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack Lite
[resolved] Feature Request: Menu Change (5 posts)

  1. Jandal
    Member
    Posted 2 years ago #

    Hello Samuelaguilera,

    I was wondering if you might be interested in adding the following feature to the plugin too.

    I would love to see the "Site Stats" menu link return to the "Dashboard" section and then the "Jetpack" Menu Item go to the bottom of the menu bar.

    I don't agree with WordPress, that "Jetpack" as a menu item is that important, and that moving the "Site Stats" item is UI greedy, only done to encourage use of the Jetpack menu.

    Thank you for doing something about Jetpack.
    =-)

    http://wordpress.org/extend/plugins/jetpack-lite/

  2. Samuel Aguilera
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Jandal,

    I agree with you about the Jetpack menu, and in fact I almost did that change before release Jetpack Lite.

    But finally I thought that (at least for the moment) is better only remove functions and not make anything change else.

    Maybe will do in a future release.

    Best regards.

  3. Jandal
    Member
    Posted 2 years ago #

    You have motivated me, I have clients that don't need "Jetpack", they want to see their Stats, and they don't want it to shift in the menu structure, they are not geeks like us, and have enough trouble using the Internet as is.

    I had made a start on a plugin last month that would adjust the menus, but it overwhelmed me, so put it aside.

    So right now I have applied this quick hack/fix, that will adjust the menus, for others who would like to apply it;

    Move Jetpack to "Tools"
    EDIT: jetpack-lite\jetpack-lite.php approx line 597
    $hook = add_menu_page( 'Jetpack', 'Jetpack', 'manage_options', 'jetpack', array( $this, 'admin_page' ), '' );

    $hook = add_management_page( 'Jetpack', 'Jetpack', 'manage_options', 'jetpack', array( $this, 'admin_page' ), '' );

    Move "Stats" back to Dashboard Submenu
    EDIT: jetpack-lite\modules\stats.php aprrox line 189
    $hook = add_submenu_page( 'jetpack', __( 'Site Stats', 'jetpack' ), __( 'Site Stats', 'jetpack' ), 'create_users', 'stats', 'stats_reports_page' );

    $hook = add_submenu_page( 'index.php', __( 'Site Stats', 'jetpack' ), __( 'Site Stats', 'jetpack' ), 'create_users', 'stats', 'stats_reports_page' );

    NOTES:
    http://codex.wordpress.org/Administration_Menus
    http://codex.wordpress.org/Function_Reference/add_menu_page
    http://codex.wordpress.org/Function_Reference/add_submenu_page

  4. Samuel Aguilera
    Member
    Plugin Author

    Posted 2 years ago #

    This request has been done :)

    Not exactly with that code, but the Jetpack menu does not exist in latest Jepatck Lite.

  5. Jandal
    Member
    Posted 2 years ago #

    Just been updating sites today and noticed.

    Thank you.

    Have changed the status of the topic to "resolved"

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic