Title: Single layout
Last modified: August 31, 2016

---

# Single layout

 *  Resolved [cosmozara](https://wordpress.org/support/users/cosmozara/)
 * (@cosmozara)
 * [10 years ago](https://wordpress.org/support/topic/single-layout/)
 * I have a problem with single layout of property,thing is that it shows full width
   and i want it in left sidebar template,i think its a conflict with my theme…here
   is a picture.
 * Thank you…
 * [Link](http://imgur.com/anPs1Lv)
    It shows taht is single.php or page.php….
 * [https://wordpress.org/plugins/wpcasa/](https://wordpress.org/plugins/wpcasa/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [cosmozara](https://wordpress.org/support/users/cosmozara/)
 * (@cosmozara)
 * [10 years ago](https://wordpress.org/support/topic/single-layout/#post-7426503)
 * And here is my content .php file and it seems all is ok:
 * <?php
    /** * The default template for displaying content. Used for both single
   and index/archive/search. * * [@package](https://wordpress.org/support/users/package/)*
   @subpackage Template */
 * if(is_single()) {
 *  do_action(‘before_single_content’);
 *  echo ‘<!– Post Content –>’;
    echo ‘<article class=”single-inner”>’;
 *  // Post Content
    echo ‘<div class=”inner-content”>’;
 *  the_content();
 *  echo ‘</div>’;
    echo ‘<!– //Post Content –>’;
 *  do_action(‘after_single_content’);
 * } else {
 *  get_template_part(‘layouts/blog-large’);
 * }
 * //wp_link_pages( array( ‘before’ => ‘<div class=”page-link”><span>’ . __( ‘Pages:’,‘
   contempo’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>
 *  Plugin Author [WPSight](https://wordpress.org/support/users/wpsight/)
 * (@wpsight)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/single-layout/#post-7426701)
 * Hi cosmozara,
 * Hard to say what the problem is. You may also want to contact with the theme 
   author. What we do in WPCasa to display the single listing content is hooking
   into `loop_start` and `loop_end` to implement the single listing template of 
   WPCasa there.
 * You would need to look one level higher than _content.php_. The corresponding
   file is probably _single.php_ (depends on your theme).
 *     ```
       <?php while ( have_posts() ) : the_post(); ?>
   
       	<!-- WPCasa places single lisiting template here -->
   
       <?php endwhile; // end of the loop. ?>
       ```
   
 * Hope this helps.
 * Best regards,
    Simon [WPCasa]
 *  Thread Starter [cosmozara](https://wordpress.org/support/users/cosmozara/)
 * (@cosmozara)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/single-layout/#post-7426754)
 * Thx Simon i did it…..

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Single layout’ is closed to new replies.

 * ![](https://ps.w.org/wpcasa/assets/icon-256x256.png?rev=3511685)
 * [WPCasa - Real Estate for WordPress](https://wordpress.org/plugins/wpcasa/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpcasa/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpcasa/)
 * [Active Topics](https://wordpress.org/support/plugin/wpcasa/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpcasa/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpcasa/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [cosmozara](https://wordpress.org/support/users/cosmozara/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/single-layout/#post-7426754)
 * Status: resolved