?post_types= should be ?post_type= – Any Help?
-
Hi can anyone help or suggest a fix for this issue.
I am using custom post types – if you perform a search without parameters selected the results page adds an ” S ” in the url (mysite.com?post_types=my-custom-post-type) – and wordpress defaults to the index.php page instead of the custom archive page.
Removing the ” s ” in the url and the correct archive page loads
(mysite.com?post_type=my-custom-post-type)Many thanks
Brad
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘?post_types= should be ?post_type= – Any Help?’ is closed to new replies.