I'd like someone to test this Wp support forum post and see if i'm correct and that there is indeed a bug in the issue below?
change your cpt from property-for-sale to property_for_sale
or you can add prefix like: a_property_for_sale
20 characters max
it's not a bug.
it's about priority.
you can try this: create a new folder "property-for-sale" inside your wp root folder
then, open new page: http://domain/property-for-sale
I don't want to use underscores. I know how to fix it, i just don't use the word 'for'... is this a bug?
I'm looking for some to test my theory that having a hyphen before and after the word 'for' in a CPT slug crashes the query.
then try to change this line:
'post_type' => mortgage-home-loan,
'post_type' => 'mortgage-home-loan',
'post_type' => property-for-sale,
'post_type' => 'property-for-sale',
the difference: see attachment