Get Pages with Status

Plugin Banner

Get Pages with Status

by Matt McInvale

Download
Description

Get Pages with Status is a very simple plugin that allows you to get pages with any status.

This plugin gives you one new function, get_pages_with_status($arguments).

This function adds 1 new option to the default get_pages() function.

  1. Define the status argument to select pages of any status type.
  2. Define status as ‘all’ to get all pages regardless of status.

That’s it really, super simple.

More documentation for Get Pages with Status on BinaryM.com

  1. Upload get_pages_with_status.php to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Replace get_pages() with get_pages_with_status() in your templates to use the status argument.
  4. See our site for another example.

None at this point. Contact me if you have any and I’ll add them here.

Back to top