About Chris Morrell

I am a Philadelphia web designer and developer who focuses on PHP development and usable design. I am also the Director of IT for the International Association of Certified Home Inspectors.

Please Note: My site fell victim to a Wordpress security flaw a few weeks ago, and I'm just getting everything back to normal. Please bear with me.

I am currently not accepting any new clients.

Other Sites/Clients

Contact Me

If you need to get in touch with me, my name is Chris and my domain name is cmorrell.com. Think about it.

Subpage Shortcode

This is a simple plugin to show a listing of pages via a shortcode.  For example, this is used on my Open Source page to show all my open source projects. Basic usage:

[subpages]

It will take any attribute that wp_list_pages will accept (full list). By default it sets child_of to the current page and title_li to blank. More advanced usage:

[subpages child_of=4 exclude="3,7" depth=1]

The above would show the subpages of the page with an ID of 4, excluding pages 3 and 7 and display them in a flat form.

If for some reason you already have a plugin that uses the [subpages] shortcode, you can always use [galahad-subpages] to avoid conflict.

Download it now:

Galahad Sub-Page Shortcode [880 bytes]

No Comments (Respond Now) »

Leave a Reply

Additional comments powered by BackType

Comments & Trackbacks

You can leave a response, or trackback from your own site. Follow any responses to this entry through the RSS 2.0 feed.

@inxilpro

  • Developing PHP applications that use a payment gateway (Authorize.net/PayPal/etc)? I'd love you feedback on a project… DM for details. 3 hrs ago
  • Loving the camel case matching in Zend Studio's code assist. "new ZDbAA" + TAB = "new Zend_Db_Adapter_Abstract" 1 day ago
  • Just got home after running 10 miles. I don't think my legs work anymore. Jesus. 3 days ago
  • More updates...
Copyright © Chris Morrell, Powered by WordPress, Entry RSS Feed / Comment RSS Feed