Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

WordPress obviously comes from a blogging background but can be used to serve sites with a lot of Pages. However, where it falls short for me is not in regard to performance but in the Admin area's handling of lots of Pages, child pages etc. It quickly becomes a chore to move through the list of Pages trying to find what you're looking for, especially without the ability to drill down into page hierarchies etc. What techniques / plugins do people use to deal with this issue?

share|improve this question

5 Answers 5

up vote 5 down vote accepted

I use the CMS Tree View plugin, and it works very well. It collapses all your pages under their parent pages, among other features.

share|improve this answer
    
Thanks, I came across that after posting this question. It certainly offers a nice overview of the site. It would be good to have something like that become more integral to WP's Admin. –  Rick Curran Aug 18 '10 at 11:32
    
I've set this as an accepted answer, it's not the ultimate perfect solution but it's the best solution I've seen yet. –  Rick Curran Aug 19 '10 at 14:33
    
Given that you've got what you need then I probably won't build the plugin mentioned, just fyi. –  MikeSchinkel Aug 19 '10 at 16:33

Hi @Rick:

Yeah, the admin doesn't work extremely well for a site with tons of Pages vs. Posts. As you mention most WordPress sites have been blogs and who needs to edit older blog posts frequently? Having the most recent available is all most bloggers usually need and since most blogs have probably 5 pages or less it's been a non-issue.

So I agree, it's definitely needed.

Three things that come to mind, without an admin overhaul would be the following two of which would require some coding:

  • Consider Using Custom Post Types?
  • Add Filtering Functionality to the List
  • Add an Expand/Collapse Functionality for Parent Pages
  • Finding Good Existing Plugins

Consider Using Custom Post Types?

Often with I've seen a site with lots of Pages it turns out there could be real benefit to breaking them out as Custom Post Types. Often it's because when the site was built Custom Post Types didn't exist in WordPress to even consider. You know, if the only tool you have is a hammer...

Today I think it's because they are still new that it doesn't occur to most people they are an option. Still my guess is if you looked at your content you'd identify patterns where Pages could be converted to one of more Custom Post Types.

To give you some inspiration here's a screen shot for two different Custom Post Types both with lots of customization I'm working on:

Example Custom Post Type #1

Example Custom Post Type #2

To Change Post Types for Existing Pages

Since you already have lots of Pages you may need to change your existing post types to the new custom post Type. One way you do this would be to tag the appropriate Pages with a special tag of your choosing and then write a PHP script or a SQL query to change post types for Pages with the tag.

Alternately you could write a custom metabox that allows you to change the type and/or you could modify the list of Pages to offer a type changing feature. If this part is of specific interest add a custom that specifically asks how to do one of these things.

Add Filtering Functionality to the List

Another approach would be to add more filtering options to the list. You could filter by categories, by tags and/or by meta values. Here's my answer to a question where I showed how to write the code to sort on meta values; filtering is similar:

Custom Post List Sorting in the WordPress Admin

If you want more specifics on how exactly to do this for your specific need please ask another more specific question?

Add an Expand/Collapse Functionality for Parent Pages

A third approach might be to provide an expand/collapse functionality using jQuery and maybe even AJAX to allow you to see only the top level pages and then drill down to the relevant sub pages. (unfortunately I couldn't find a good screen shot for this.)

This would also take some programming and if you are interested please ask another more specific question on the topic?

Finding Good Existing Plugins

While I haven't had experience with any of these here are some blog posts on the topic so maybe you'll be able to find what you need among these:

Hope this helps?

share|improve this answer
    
@Mike: The third image is the same as the second. Is this correct? –  Jan Fabry Aug 17 '10 at 12:22
    
@Jan Fabry: Oops, no! Thanks for catching, fixed. –  MikeSchinkel Aug 17 '10 at 17:44
    
@Mike: Thanks for your response, I definitely see Custom Posts offering a partial solution. However, they also contribute to the probelm as well, I see the main problem with WP's Admin interface is that you can't see a good overview of your entire site's menu structure. Splitting into Custom Posts further adds to this in some way. I can see how WordPress could really benefit from an integral hierarchical view of site structure in the Admin, especially as it moves further away from its blogging engine roots. –  Rick Curran Aug 18 '10 at 11:27
    
Hi @Rick. Ah, true. When you asked the question it was open-ended so it wasn't clear to me what part of WordPress' UI you were struggling with. You kind of get that in WordPress 3.0's menu system; can I assume you are not using it? (yes I know it doesn't work with with lots of pages.) You should consider asking another more targeted question like "Hierarchical View of Entire WordPress Site in the Admin?" and maybe someone will write a plugin for you? :) –  MikeSchinkel Aug 18 '10 at 15:19
    
Another epic reply @Mike! Thanks! –  tooshel Aug 18 '10 at 19:52

You can change the "Pages per Screen" option in "Screen Options" (top right corner). If you set that to like 200, then you can use your browsers Find function to quickly jump around (Control / Command + F).

If I want to edit a few pages, I middle-click the edit links to open them in new tabs, that way I can keep my "directory" of pages open.

share|improve this answer
    
Sorry, just stole part of your tip here as a solution for @Volomike's post deleting point in the comments for the answer above! I hadn't played with the Pages per Screen option myself before, don't know how I'd missed it. –  Rick Curran Aug 19 '10 at 14:36

Great question. I don't have a solid answer and would love to hear what others have done.

As a bit of an aside, here are a few plugins I've seen that can customize WordPress' Admin UI. Note: I haven't tried any of these myself and don't know how they would fare on WP 3.0.

Aside from these possibly outdated plugins, you can also customize the Admin using an Admin Theme.

Perhaps a CSS whiz could whip up something that makes page management easier, such as making the category selector more prominent or something.

share|improve this answer

Just wait :). http://core.trac.wordpress.org/ticket/14579 , Scribu is Ajaxifying the lists, should make it more easy to manage stuff. Stuff of it already get's committed so in the end you can build on top of that.

Next to adding javascripts, it looks like that bulk actions will be converted into post actions. That enables users to make more modifications at once.

share|improve this answer

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.