=== CleanCodeNZ Exclude Pages Plugin === Contributors: cleancodenz Donate link: http://www.cleancode.co.nz/ Tags: wp_list_pages_excludes, navigation, menu, exclude pages, hide pages, custom fields,parent,child Requires at least: Not tested Tested up to: 3.0 Stable tag: 1.2.0 This is a plugin to hide pages from navigation or other purposes using custom fields == Description == This plugin allows you to define the custom field you want to attach to a page, and use this as a filter to exclude pages from call of wp_get_list_pages through the plugin filter hook of wp_list_pages_excludes, thus it is done in the most unobtrusive way, it supports hierarchical parent and child pages exclusion, search result exclusion as well. As the exclusion is done through highly optimized cached general wordpress query and queried once for even hierarchical data, this would provide best performance and scalability. No new database table or database field created for this function. Any issues: [contact me](http://www.cleancode.co.nz/contact). == Installation == 1. Upload this plugin to your plugins directory. It will create a 'wp-content/plugins/cleancodenzexlp/' directory 2. WordPress users then can go to their Plugins page and activate "CleanCode NZ Exclude Pages Plugin". 3. Now go to Settings->CleanCodeNZEXLP, type in custom field name and value pair for pages to be excluded. 4. That is all it needed for it to work == Frequently Asked Questions == = What happens for parent and child pages = 1. When parent is excluded, child page is excluded, ==> neither appears 2. When parent is excluded, child page is not excluded, ==> only child page will appear 3. When parent is not excluded, child page is excluded, ==> only parent page will appear 4. When parent is not excluded, child page is not excluded, ==> both parent and child page will appear = Where can I find help for this plugin = You can find more information of this plugin from [CleanCodeNz Exclude Pages WordPress Plugin](http://www.cleancode.co.nz/cleancodenz-exclude-pages-wordpress-plugin "Using custom fields to hide pages") == Screenshots == Screenshots at: [CleanCodeNz Exclude Pages WordPress Plugin](http://www.cleancode.co.nz/cleancodenz-exclude-pages-wordpress-plugin "Using custom fields to hide pages") == Changelog == 1.0.0 : First release 1.1.0 : Exclude from search feature added. 1.2.0 : Parent and child pages support added. == Upgrade Notice == None