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.
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
I don’t see a single.php :-/
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
The theme is custom, I designed it, and paid someone else to convert it for use in wordpress
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
Sorry, but there does appear to be a single.php in your theme:
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.
Thanks Kaf, I should have probably indicated WHERE the single.php file should be located.
Regards
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');
?>
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…
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.
pcmt: I don’t have single.php :-/ And I did a search for that div, and it wasn’t found.
“I don’t have single.php :-/“
~ahem~
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.