• Wouldn’t it be great if in the pages section of the editor sidebar, theoptions were like this:

    Pages
    All Pages
    My Pages
    Add New

    Wouldn’t it?

    I mean, the editor knows who I am, and which are my pages, but on a huge site, this would come in really handy…

    • This topic was modified 7 years, 1 month ago by mainejames.
Viewing 1 replies (of 1 total)
  • You can actually do this pretty easily with a few lines of code in pasted into your theme’s functions.php

    function my_admin_menu() {
    add_submenu_page('edit.php?post_type=page', 'My Pages', 'My Pages', 'edit_posts', 'edit.php?post_type=page&author=' . get_current_user_id(), ''); 
    }
    add_action( 'admin_menu', 'my_admin_menu' );
    • This reply was modified 7 years, 1 month ago by latro666.
Viewing 1 replies (of 1 total)
  • The topic ‘Add “My pages” to Pages list in editor sidebar’ is closed to new replies.