Title: stranded's Replies | WordPress.org

---

# stranded

  [  ](https://wordpress.org/support/users/stranded/)

 *   [Profile](https://wordpress.org/support/users/stranded/)
 *   [Topics Started](https://wordpress.org/support/users/stranded/topics/)
 *   [Replies Created](https://wordpress.org/support/users/stranded/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/stranded/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/stranded/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/stranded/engagements/)
 *   [Favorites](https://wordpress.org/support/users/stranded/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[request] How to hide sidebar.php on a particular page?](https://wordpress.org/support/topic/request-how-to-hide-sidebarphp-on-a-particular-page/)
 *  Thread Starter [stranded](https://wordpress.org/support/users/stranded/)
 * (@stranded)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/request-how-to-hide-sidebarphp-on-a-particular-page/#post-1162473)
 * With this theme default page.php looks like this:
 *     ```
       <?php get_header(); ?>
       <?php if (have_posts()) : ?>
       <?php while (have_posts()) : the_post(); ?>
   
       <div class="post" id="post-<?php the_ID(); ?>">
        <div class="p-head">
         <h1><?php the_title(); ?></h1>
        </div>
       <div class="p-con">
       <?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
       </div>
       <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
       </div>
   
       <?php if ( comments_open() ) comments_template(); ?>
       <?php endwhile; endif; ?>
       <?php edit_post_link('Edit this entry.', '<p class="edit">', '</p>'); ?>
   
       <?php get_footer(); ?>
       ```
   
 * And making a new page template like for example “Forum” (forum.php) doesn’t seem
   to work, if I remove any part (well almost) of the page.php code the site is 
   just blank and nothing loads.
 * ;/
    And as you see the “get_sidebar” isn’t even there.

Viewing 1 replies (of 1 total)