WordPress is a fantastic tool — I can’t say that enough. I was able to migrate my old site and structure over to the WordPress model quite quickly, and in a matter of minutes I was blogging. But one of the major hurdles is that it still relies on coding knowledge a bit. For example, under the current version of WordPress, to exclude a pages from site navigation, you have to go into the source and do something like wp_list_pages('exclude=3,7'). And, if you add other pages you don’t want listed in the site navigation, you have to go into and edit the source each time. This became an obstacle recently when my sister and I began looking at WordPress as a viable content management system for clients’ use. It seemed silly to us that each time the client wanted to include an excluded page or exclude a new page they’d have to call on us, or we’d have to teach them some elementary programming skills. And so the Page Link Manager Plugin was created.
The Plugin
This is a feature release. Upgrade when you can.
Pages Widget
The new version replaces the default Pages widget and creates a custom widget that duplicates the Pages widget functionality, but improves it by adding checkboxes to allow excluding individual pages.
I realize this is a big leap from v0.3, so if you feel anything is missing, out of place or needs some work, please let me know in the comments.
The Page Link Manager Plugin (I know it’s a mouthful) is a WordPress plugin that adds an administration panel that allows users to pick which page links are included in the site navigation. Adding it to your WordPress installation is as easy as ever.
- Download and unzip the plugin archive.
- Place the plugin file under wp-content/plugins directory on your WordPress Installation.
- Log in to your admin interface and activate Page Link Manager under the ‘Plugins’ tab.
- Go to the new panel under the ‘Tools’ tab called ‘Page Links’. If you use widgets, you can access page link settings through the Page widget.
- Select and update the pages you want included in your site navigation.
Note: Now that the plugin works with wp_list_pages, gdm_list_selected_pages has become deprecated.
Here’s a few uses of the wp_list_pages function:
1 2 3 4 5 6 7 8 9 | // add a heading to the page link list wp_list_pages('title_li=<h2>Pages</h2>'); // sort list by the menu order wp_list_pages('title_li=&sort_column=menu_order'); // add a heading to the page link list and // exclude a couple extra pages wp_list_pages('title_li=<h2>Pages</h2>&exclude=4,7'); |
Take a look at that last example again. Can we just manually exclude pages that way even if the function’s loading pre-defined excluded pages? Of course we can. The function’s designed to look for and deal with manual page exclusions.
I hope to keep this plugin going as a work in progress as it helps make content management just a little bit easier. If you have any problems, questions or suggestions, please let me know.
Bug Squashing
The next version will most likely be a bug release. With 2.7 being so young, you can never be sure what kind of problems may creep up and cause issues.
Requirements
The current release requires a server running at least PHP4. The plugin has been tested on WordPress 2.5+. If anyone has gotten it working on older versions of WordPress, please let me know.
Resources
If you’re interested in writing plugins, the WordPress Plugin article is an excellent resource.
Download the Plugin
All source code is provided under the Creative Commons Attribution-Sharealike License. If you agree to these terms, please download the plugin now.
Donate
Some new features take many hours to develop, test and troubleshoot. If this plugin has helped you, please consider making a small donation.


June 10, 2010
Garrett – thank you for this plugin! It is exactly what I needed. I’ve been custom coding menus for a long time (and then adding custom fields to them to exclude them from the menu)… your plugin solution is so much better and more elegant.
How hard it would be to provide the same functionality but for category archives — many WP site templates make a sub-nav menu that lists the categories of posts and when clicked they take you to the archive page for that category (using wp_list_categories() function). It would be very nice to be able to exclude categories based on the same idea you implemented for the pages. What are your thoughts?
–Paul
June 12, 2010
Hi
I would like to present interesting site:
acomplia medikament acomplia prezzo ceftin oral ceftin suppliers celexa doctor celexa prescription cleocin cheap cleocin generic diflucan nextday diflucan overnight elavil tablets elavil canada hytrin nextday hytrin uk imitrex buying imitrex order lexapro fedex lexapro espana prednisone purchase prednisone buy remarin overnight remarin order prevacid buying prevacid discount sustiva toronto sustiva buy testosterone purchase testosterone sale topamax oral topamax buy viramune price viramune discount xenical prezzo xenical toronto zyban apotheke zyban order zyloprim oral zyloprim drug zyprexa canada zyprexa buy
To greet!
See you!
June 21, 2010
June 26, 2010
eklenti için teşekkürler
July 18, 2010
August 1, 2010
Thanks for your great plug in, personally I appreciated with your work. May be in the future you can create another great plug in, I wish.