actionmatt,
i made what you want this way:
1) In the theme folder open file functions.php and make some changes:
instead:
function oxygen_disable_sidebars( $sidebars_widgets ) {
global $wp_query;
if ( is_page_template( 'page-template-fullwidth.php' ) ) {
$sidebars_widgets['primary'] = false;
$sidebars_widgets['secondary'] = false;
}
return $sidebars_widgets;
}
function oxygen_embed_defaults( $args ) {
$args['width'] = 470;
if ( is_page_template( 'page-template-fullwidth.php' ) )
$args['width'] = 940;
return $args;
<strong>write this:</strong>
function oxygen_disable_sidebars( $sidebars_widgets ) {
global $wp_query;
if ( is_single() ) {
$sidebars_widgets['secondary'] = false;
}
if ( is_page_template( 'page-template-fullwidth.php' ) ) {
$sidebars_widgets['primary'] = false;
$sidebars_widgets['secondary'] = false;
}
return $sidebars_widgets;
}
function oxygen_embed_defaults( $args ) {
$args['width'] = 470;
if ( is_single() )
$args['width'] = 940;
if ( is_page_template( 'page-template-fullwidth.php' ) )
$args['width'] = 940;
return $args;
}
[Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use a pastebin. As it stands, your posted code may now have been permanently damaged/corrupted by the forum’s parser.]
2) Open style.css and add this selector:
#content22 {
float: left;
width: 100%; /* 470 / 750 = 0.6266666666666667 */
margin: 0 0 30px 0;
}
3) Open post.php
Find <div id=”content”>
And write instead <div id=”content22″>
Thats all. This remove in post page Secondary Sidebar and full its with content.
You may need to disable posting theme img thumbnail in the post, because it not very nice with this change.
How to do it you may find in this forum.