My First Complaint About Wordpress 2.5

March 31st, 2008 - Posted in Solutions, Wordpress Tips |

This feature has never been implemented in Wordpress so I can’t get too frustrated, but it seems like one of the most obvious features that is not included. I’m talking about hiding pages from navigation.

When your theme has a horizontal navigation menu, you are limited to the number of pages listed because it will break your CSS once you go over the limit and they fold under. In the function wp_list_pages() you can define which pages you want to include and hide, but you have to do it manually by adding include=2,4,5…. (2,4,5 = page id’s)

Is it just me, or does the ability to hide pages from the navigation menu seem like an important feature?

A simple solution is to add a column to the manage pages section that has a checkbox to select which pages will be visible in the navigation menu. The pages are still accessible and published, just not visible in the menu.

I wrote a post and added updated wordpress files to a .zip while I was with Realivent. The post was written around Wordpress 2.2, so if you want to try it with Wordpress 2.5, good luck. It will probably still work, but I’m not guaranteeing anything. When I get some time, I’ll try it myself.


3 Responses to “My First Complaint About Wordpress 2.5”

  1. 1 Reggie

    This would make a great plugin!

  2. 2 Reggie

    Check out this plugin, it may do exactly what you need.
    http://wordpress.org/extend/plugins/exclude-pages

  3. 3 Matt Dunlap

    Thanks, tried it and it works great

Leave a Reply


Add to Technorati Favorites

Featured Sections