I want to be able to force WordPress to load an page/post based on a query in the URL.
www.mywordpresssite.com/posts/myarticle?template=custom
This URL should load the myarticle post using template custom.php
I don’t even know where to start with this one. Is there a hook I can use to change the template in my theme before it loads?
Any help is appreciated.