wp_list_pages()
, wp_page_menu()
, and the Pages widgetwp_list_private_pages()
tag (a clone of wp_list_pages()
that accepts all the same arguments)Now on GitHub.
You must have at least one public page. Otherwise, as of 3.1, the front page settings (where you can choose a static page as your home page) will not appear on the settings page at all. As long as you have one public page, all the private pages will appear as options in the dropdown menu.
Adding private pages to wp_list_pages()
, wp_page_menu()
, and the Pages widget does not always work as it should. The private pages will be out of order, and they might appear as children of the wrong parent page. If this occurs, try using the wp_list_private_pages()
template tag instead. It’s a clone of wp_list_pages()
and should accept all the same arguments. This plugin includes an extra Pages widget that includes private pages.
When you mark a category as private, all the posts in that category will have their visibility set to private when they are published, even if you don’t change the visibility setting on the edit screen. Only published posts are affected; your draft, pending, and scheduled posts will work as usual, except that scheduled posts will be set to private when they become active.
Huge thanks to mtekk for providing the patch that makes the page list features possible. The alternative method of listing pages was adapted from Branko Ajzele.
If you would like to send me a translation, please write to me through my contact page. Let me know which plugin you’ve translated and how you would like to be credited. I will write you back so you can attach the files in your reply.