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 ?
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.
http://s17.postimg.org/4ta4cb3rz/sitemap.png
Hello.
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 ?
Thanks.
Hi Tony.
This is my CPT code in functions.php http://pastebin.com/qnFMBtXk. 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.
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.