Support » Plugin: HTML Page Sitemap » Doesn't seem to be working

  • Hi,

    Had the plugin installed for a long time, but just checked and it doesn’t seem to be updating the pages correctly.

    Questions:
    Will pages in ‘private’ be shown in the HTML sitemap?
    How to I force it to update to include all pages?
    Is there any way that I can include blog posts in the sitemap?

    https://wordpress.org/plugins/html-sitemap/

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.