Title: Adding side-bar to posts?
Last modified: August 18, 2016

---

# Adding side-bar to posts?

 *  [lithanual](https://wordpress.org/support/users/lithanual/)
 * (@lithanual)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/adding-side-bar-to-posts/)
 * When you click on entry, it goes to its own separate page with the blog entry,
   but I would like it to have the full side-bar in that area as well. How would
   I go about doing that?
 * Example:
    Go to [http://donovanduncan.com/](http://donovanduncan.com/) click 
   on a blog title no menu on the right :-/

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

 *  [Lorelle](https://wordpress.org/support/users/lorelle/)
 * (@lorelle)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/adding-side-bar-to-posts/#post-250931)
 * This is a very common request. It involves editing your style sheet and changing
   the look of the styles on the single post view. This also means that your Theme
   is based upon the Default or Kubrick Theme with that feature.
 * Search the forum and you will find plenty of answers and explanations on how 
   to do this.
 * If you are familiar with CSS, then you can plunge in and make the architectural
   and structural changes for that page view. If you aren’t, well, you can either
   pick a new Theme or learn how, or wait until we add a new article on how to do
   this on the Codex. Hopefully that will be available soon.
 *  [Cypher](https://wordpress.org/support/users/cypher/)
 * (@cypher)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/adding-side-bar-to-posts/#post-250941)
 * You should be able to just edit single.php in your theme and make a call to “
   get_sidebar()” towards the bottom of the file.
 * Regards
 *  Thread Starter [lithanual](https://wordpress.org/support/users/lithanual/)
 * (@lithanual)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/adding-side-bar-to-posts/#post-250945)
 * I don’t see a single.php :-/
 *  [Cypher](https://wordpress.org/support/users/cypher/)
 * (@cypher)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/adding-side-bar-to-posts/#post-250959)
 * That’s strange indeed, your theme Heartstring is based on Kubrick but doesn’t
   have a single.php.
 * Could you point us to where you got the theme from so that we can see what files
   are included in the theme and tell you where to make the modifications.
 * Regards
 *  Thread Starter [lithanual](https://wordpress.org/support/users/lithanual/)
 * (@lithanual)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/adding-side-bar-to-posts/#post-250977)
 * The theme is custom, I designed it, and paid someone else to convert it for use
   in wordpress
 *  [Cypher](https://wordpress.org/support/users/cypher/)
 * (@cypher)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/adding-side-bar-to-posts/#post-251005)
 * Ahh OK..well the theme seems to have been based on Kubrick, so that’s something
   we can work with.
 * Since you don’t have a single.php, it is likely that the index.php file is being
   used. Look for a call for “is_single()” or the location of “div id=content class
   =widecolumn” within that file, you should probably find some string like “you
   can start editing here”, it is likely that placing the call to “get_sidebar()”
   over there might get you what you need.
 * Alternavely, since you paid someone for the convertion, could you not contact
   them to have them do this one last piece?
 * Regards
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/adding-side-bar-to-posts/#post-251024)
 * Sorry, but there does appear to be a single.php in your theme:
 * [http://donovanduncan.com/wp-content/themes/heartstring/single.php](http://donovanduncan.com/wp-content/themes/heartstring/single.php)
 * Visiting that url doesn’t provide the right sort of error for a non-existent 
   file.
 *  [Cypher](https://wordpress.org/support/users/cypher/)
 * (@cypher)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/adding-side-bar-to-posts/#post-251030)
 * Thanks Kaf, I should have probably indicated WHERE the single.php file should
   be located.
 * Regards
 *  Thread Starter [lithanual](https://wordpress.org/support/users/lithanual/)
 * (@lithanual)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/adding-side-bar-to-posts/#post-251248)
 * it’s def. not in index.php, this is all that’s in index.php
    `<?php  /* Short
   and sweet */ define('WP_USE_THEMES', true); require('./wp-blog-header.php'); ?
   >
 *  Thread Starter [lithanual](https://wordpress.org/support/users/lithanual/)
 * (@lithanual)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/adding-side-bar-to-posts/#post-251252)
 * Okay, so I found
    `if ( is_single() || is_page() ) { $more = 1; $single = 1; }
   So I changed it to this: if ( is_single() || is_page() ) { $more = 1; $single
   = 1; get_sidebar(); } But that put the sidebar on top of the whole page, and 
   not over to the right where it’s supposed to be…
 *  [pcmt](https://wordpress.org/support/users/pcmt/)
 * (@pcmt)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/adding-side-bar-to-posts/#post-251255)
 * You probably also need to alter (in single.php):
 * <div id=”content” class=”widecolumn”>
 * to:
 * <div id=”content” class=”narrowcolumn”>
 * and use the narrowcolumn background image too.
 *  Thread Starter [lithanual](https://wordpress.org/support/users/lithanual/)
 * (@lithanual)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/adding-side-bar-to-posts/#post-251256)
 * pcmt: I don’t have single.php :-/ And I did a search for that div, and it wasn’t
   found.
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/adding-side-bar-to-posts/#post-251264)
 * “_I don’t have single.php :-/_“
 * ~ahem~
 * [http://donovanduncan.com/wp-content/themes/heartstring/single.php](http://donovanduncan.com/wp-content/themes/heartstring/single.php)
 * Note the error with get_header(). That would not occur if you **don’t** have 
   a single.php. And this must be the theme on your blog, since it’s where your 
   stylesheet is being called from.

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

The topic ‘Adding side-bar to posts?’ is closed to new replies.

 * 13 replies
 * 5 participants
 * Last reply from: [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * Last activity: [20 years, 9 months ago](https://wordpress.org/support/topic/adding-side-bar-to-posts/#post-251264)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
