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 contain '/register' load the sidebar.
get_sidebar();
}
?>
That said, if you need farther reaching changes to the template for those pages, you’d be much better off making a new page template for those pages. Once you have a custom page template in place, you’ll be able to choose that template on the page edit for any page on the site. Instructions for custom page templates are in the codex.
Related Posts:
- Best way of making multiple sidebars
- Getting post-thumbnails from another WP site
- dynamic_sidebar not rendering sidebar
- Add featured image to sidebar [closed]
- Sidebar Generator? :)
- How to exclude parent category but show child categories?
- Specific and Different Ads for each Post?
- Why and how is twentythirteen adding a margin-top to my footer?
- Adding content to sidebars
- Twenty Ten child theme has post on an inner page. Cant get that page to use my desired template
- Template part vs Sidebar (differences)
- Change sidebar headers from H1?
- change sidebar or just widgets for 2 specific post type single posts
- How to delete wordpress menu
- CSS Twentyeleven / Sidebar has to be changed IN the CSS Stylesheet. Sidebar on the left side
- Why does the TwentyTen Theme sidebar have a class called ‘xoxo’?
- Dynamic Sidebar for subcategory of a category
- How to add Sidebar and Full width option in post editor
- how to exclude posts on current page from recent posts sidebar widget
- How to add a class when there’s no sidebar?
- Creating a different side bar for single posts than for main page.
- Sidebar loop – Thematic Framework
- How to have dynamic sidebar content per post
- How to list custom post types in a secondary sidebar?
- From what hook on is it possible to conditionally add actions?
- Post thumbnails in sidebar & footer?
- Sidebar on the wrong side of the page
- Include a sidebar on the static front page of twenty thirteen
- How to increase maximum number of sidebars support?
- author list not linking to correct page
- sidebar parameters (before_widget, before_title) not Working
- Sidebar widget not displaying after simple code update.
- Dynamic sidebar rendered in another place than i would like
- Check if sidebar is rendered?
- Not Getting Sidebar
- Where is dynamic_sidebar content defined?
- Why does my sidebar get dragged down on this specific uid?
- Common side bar for multiple websites
- Dynamic Sidebar Conditional [duplicate]
- Cannot retrieve author in sidebar of single.php
- Extra copy of sidebar appears in footer
- get_sidebar() will not work in footer.php
- Gutenberg get wp registered sidebars
- How do I show breadcrumbs when sidebar is not applied?
- Sidebar only shows up on blog page
- Find sidebar.php in WP 3.9.2
- Sidebar not appearing on page template with custom posts
- get_posts() in secondary sidebar messes up content in primary sidebar
- Get specific sidebars $wp_registered_sidebars [closed]
- How to use full length of the upper part of the content and below of it is a content with a sidebar?
- Function to add class to element?
- Is it ok to chop index.php and include files?
- WordPress – Allow dynamic text to be added into a sidebar upon page creation
- Sidebars are no longer working
- How do i replace the sidebar to use pages instead of blogs?
- Why is my custom sidebar always open on the widgets screen in Admin?
- Sidebar Stuck To First Post, Not Top Of Page
- Is there a way to display content from a post meta box in the sidebar?
- is_user_logged_in function in a sidebar not working
- “Folding” links in the blogroll
- How to make sidebar float right and site content left
- The WP home page corrupted after switching to new theme
- Problem adding sidebar to Underscores theme
- unordered list loop not showing up in sidebar
- How do I fully rid of the 1px wide sidebar border? [closed]
- how do i get my sidebar above content on nanomag theme
- Change Sidebar for rewritten page
- Sidebar widgets are looping out of the sidebar wrapper
- Change page layout
- Main content showing up below sidebar
- Need help with theme Business (Modern Themes): sidebar issue
- I’m hit with: undefined constant register_sidebar. Once in debug mode? [closed]
- Children Pages Displaying Only Intermittenty
- I’d like to add an fa icon before a link in my ‘recent post’ side bar [closed]
- Extra sidebar in Twenty fifteen
- Call Multiple Sidebars at once
- Echo there are no posts wp_get_archives
- echo widget contents
- Include inside sidebar
- More than one dynamic sidebar
- How to add banners in sidebar of my theme [duplicate]
- is_home() and is_front_page() not working in sidebar
- Placing video content into a sidebar
- different contents and same sidebar approach?
- Sidebar not visible after changing to new domain
- How do I store get_sidebar in a varaible? [duplicate]
- Resizing Picture
- Sidebar not displaying on custom-page.php
- Searchresult sidebar change
- How to hide a Sidebar from other admins?
- How to create another sidebar to be shown on another page?
- Differentiate Between Parent & Child Categories
- How to change font in title of sidebar widget [closed]
- How do I load my site without the side bars? This is for an app
- Persistent sidebar.php [closed]
- Remove Sidebar for Pages on Canvas Wootheme [closed]
- Sidebar not appearing
- Woo commerce Single Product Sidebar [closed]
- How to hide sub categories in sidebar [closed]
- sidebar choice not saved for pages (but saved ok for posts/custom posts) [closed]