WordPress Plugin: Page Link Manager

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

v1.0b Release Changes (February 23, 2009)

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.

  1. Download and unzip the plugin archive.
  2. Place the plugin file under wp-content/plugins directory on your Wordpress Installation.
  3. Log in to your admin interface and activate Page Link Manager under the ‘Plugins’ tab.
  4. 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.
  5. 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:

// add a heading to the page link list
wp_list_pages('title_li=

Pages

');

// 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=

Pages

&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.

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.


Leave a Comment







8 Comments for 'WordPress Plugin: Page Link Manager'

Karli, June 07, 2011

THANK YOU SO MUCH FOR MAKING THIS PLUGIN!!

weslley, October 27, 2011

Very nice plugin. Man this must help me!!!

Thanks!!!!

sorry for my poor inglish, i am brazilian.

New NHL Jerseys, November 04, 2011

Online shopping spree, Cheap affordable and Convenient what are you waiting for? 

Buy New NHL Jerseys, the best place to find is nowhere except on internet. You can search and compare the prices, shipping costs, even the quality. You can also get the testimonial from other customers to determine which one is better. All of them will make you easier to make your decision. The other benefit is you don’t need to walking out from your house, you just even click a few, and the item will be delivered to your doorstep.

Pandora australia, November 05, 2011

Pandora bracelets australia and Pandora charms australia are on hot sale in Pandora australia for the amazing design and a luxury feeling left for the public all over the world. Undoubtly, if you want to have a Pandora charms, the Pandora Online and Pandora bracelets would be your best choice for the unique appearance and top material.

Pandora australia, November 05, 2011

looking forward for more articles on your blog Cool to read, worth learning! Keep it up!

Juicy Jewelry, December 31, 2011

Buy cheap juicy couture jewelry Set of our juicy couture jewelry online store,free shipping offered this time.New fashion,new design.Buy now.Dare to stand out with this hot juicy jewelry collection.Juicy couture jewelry sale smart design make you more charming juicy couture jewelry outlet.

Lisa Parker, January 10, 2012

This really made my day!

JMV, January 12, 2012

Thank you!