I’m designing a new template to replace an existing one. The template is called featured.php and I’m going to be replacing it with featured-new.php
I want to pass the variable “new” in the querystring, then if the new variable is present it’ll using the featured-new.php file.
How can I do this? Is there a tag to tell a page to use a specified template?
I would use
theme switcherplugins such as this one, then customize whether present it only from URL or switch on the layout.Also, take a look at this: Theme Switching