Support » Plugin: WP Sitemap Page » wp-sitemap-page does not list custom post types

Viewing 8 replies - 1 through 8 (of 8 total)
  • Same for me, only default pages and posts are displayed, no warning or notice with WP_DEBUG on true too. Looking at the source code, there is nothing to get & output the CPT. Maybe a missed upload when updating to 1.0.5 ?

    Plugin Author Tony Archambeau


    Hi everyone.
    So sorry about this error. I just noticed your messages and fix this problem through a new version. Indeed I made a mistake when I have updated to 1.0.5.

    Have a look on the 1.0.6 version.

    So sorry again.
    Thank you for your help.

    Have a good day.

    I have download lastest version (1.0.6 version), but it not working.
    Product is custom post type, and I was create two products item, but at site map page it not show.

    Plugin Author Tony Archambeau


    Hum, this is strange. I tried it on one of my website and it’s working fine.
    Please, could you tell me more about the way you created the CPT “product” on your website ?


    Hi Tony.
    This is my CPT code in functions.php I’m using wp 3.7.1, Twenty Twelve theme.

    Same here. It shows the CPT titles, but nothing else.

    Same here, I have a custom post type of “portfolio”. The code in the page is as follows:

    <h2 class="wsp-portfolios-list">Portfolio</h2>
    <ul class="wsp-portfolios-list"></ul>

    So, the ul is there, but not the list items.

    Plugin Author Tony Archambeau


    Hi again.
    I discovered what went wrong. The function wp_list_pages() only worked for hierarchical Custom Post Type (CPT). So I use another way to list all the items of a CPT.
    You just have to upgrade to the version 1.0.7. And I do not show the title if there isn’t any posts in a CPT.

    Hope that helps.
    Thanks again for your feedbacks, that was very useful.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘wp-sitemap-page does not list custom post types’ is closed to new replies.