Viewing 1 replies (of 1 total)
  • Plugin Author Angelo Mandato

    (@amandato)

    The HTML sitemap plugin should not be displaying private pages by default.

    There’s not much to this plugin. When you add the shortcode, it simply calls the native WordPress function wp_list_pages. If you are having a problem with the functionality of this plugin then you would also have a problem with the WordPress wp_list_pages function as well.

    You can use the post_status attribute, specify the value with a comma separated list of the page statuses you want to include. e.g. ‘publish,private,draft’ to show published, private and drafts.

    This function only works for Hierarchical Post Types. Blog posts are linear, thus are not displayed with the wp_list_pages function.

Viewing 1 replies (of 1 total)
  • The topic ‘Doesn't seem to be working’ is closed to new replies.