Multiple Content Types not working with the same Query Variable
-
Hi, I have created 2 content types by duplicating one of them from the other. But when I “activate” the 2nd content type, the pages from the 1st content type do not work. Here’s my steps to reproduce:
1) Click on “Create Content Type” and name it “test1”, then activate it.
2) Go to “edit” > “URLS” tab and then type “id” in the “Query Variable” input field.
3) Add a new template page called “single-test1.php”
4) Go and “duplicate” this content type so that you have a new one called “test1_copy”, and activate this as well.
5) Add a new template page called “single-test1_copy.php”
– If you add a new page to “test1” content type and try to view it, it will say that the page is not found.
– But if you add a new page in “test1_copy” content type, the page works.Is this expected?
The topic ‘Multiple Content Types not working with the same Query Variable’ is closed to new replies.