Question

Is there some way to change the page template dynamically using just a url I wanna use it in a demo theme, so for example when the user enters a particular URL ending with for example

?custom_page_template

it changes the template on the fly?

Could this technique be used to change the theme (or maybe a child theme) on the fly just for demo purpose?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange
scroll top