Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Been doing some digging and trying to see if there is a way to change the default list for Pages, Posts, etc in the WordPress menu area to default to "View all" instead of a truncated list. Any ideas? Thanks!

share|improve this question
could you be more clear, What exactly you mean by view all by default? We can use some hooks to do that. – amit Aug 4 '12 at 6:43
Hi @amit I provided a screen shot below (other users answer) of this. Let me know if that's enough clarification. Thanks! – Zach Aug 6 '12 at 12:28
do you want to show all posts on same page by default? – amit Aug 6 '12 at 12:32
Yup, exactly what I'd like to do. – Zach Aug 6 '12 at 12:38
1  
Why not set the posts to 999 under screen options ? – amit Aug 6 '12 at 12:39
show 1 more comment

1 Answer

  • Load an extra stylesheet for /admin:

    if(is_admin()){
        wp_enqueue_style( 'admin-edit', get_bloginfo('stylesheet_directory').'/admin-edit.css');
    }
    
  • Create stylesheet with:

    #adminmenu div.wp-submenu {
        display:block;
    }
    
share|improve this answer
Hi, Sorry - to be more clear, I mean on the Posts content type, the "View" option at the top-right postimage.org/image/e2yu55o9n Thansk! – Zach Nov 28 '11 at 21:16
OK, beats me. You'd have to find a way to attach ?mode=excerpt to the link in the admin-menu (or to change default behaviour of edit.php) - but I have no idea whether such a thing is possible... – ptriek Nov 28 '11 at 22:22
Appreciate you taking a look regardless. Thanks! – Zach Nov 29 '11 at 4:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.