Post content sidebar is different between logged in and not
-
I have made a single edit to my single.php file within the twenty-fourteen theme so that posts will not show the content sidebar.
if(!is_single()) {
get_sidebar( ‘content’ );
}Interestingly, when I’m logged in, the content sidebar is not shown… as expected. However when I log off the site, the content sidebar is now shown!
Is there a way to never show any post’s content sidebar? I still want Pages to show the content sidebar though!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Post content sidebar is different between logged in and not’ is closed to new replies.