I have a similar issue with Admired after updating to WordPress 4.5. Haven’t found a fix yet.
I have the same problem with right sidebar on my site.
Therefore I restored a backup version prior to the WP update and I am waiting for a fix.
The right sidebar begins below the post and everything seems OK on the pages without a sidebar.
Thread Starter
CNHub
(@cnhub)
The Twenty Eleven theme had the same problem, so using this thread, I worked out how to fix it.
In the functions.php file you need to locate the following:
function admired_body_classes( $classes ) {
if ( ! is_multi_author() ) {
$classes[] = 'single-author';
}
if ( is_page_template( 'tmp-onecolumn.php' ) )
$classes[] = 'one-column';
if ( is_page_template( 'tmp-threecolumn.php' ) )
$classes[] = 'two-sidebars';
return $classes;
}
add_filter( 'body_class', 'admired_body_classes' );
Then update it to this:
function admired_body_classes( $classes ) {
if ( ! is_multi_author() ) {
$classes[] = 'single-author';
}
if ( is_page_template( 'tmp-onecolumn.php' ) )
$classes[] = 'one-column';
if ( is_page_template( 'tmp-threecolumn.php' ) )
$classes[] = 'two-sidebars';{
$index = array_search('singular', $classes);
if ( $index !== false ) unset($classes[$index]);
}
return $classes;
}
add_filter( 'body_class', 'admired_body_classes' );
Thanks! That fixed it for me.
When I go into the functions.php file under edit… there is absolutely nothing on that page.
The only other functions.php was for widgets?
What am I doing wrong?