How to change templates based on URL
Provided not showing the sidebar is the only difference you really want between the way pages are displayed, you can load the sidebar conditionally with something like this in your page.php (or whatever file your theme is using to load the page): <?php if ( strpos($_SERVER[‘REQUEST_URI’],’/register’) == false ) { // if requested uri DOESN’T … Read more