I want my sidebar to only appear on single posts. So I added to my content-single.php file the following code:
<?php get_sidebar(); ?>
Which largely works. The sidebar isn't displayed on the front page anymore, nor author and tag archives. But, for some reason, it is in category archives.
I tried adding a conditional if_single but that doesn't make a difference.
Am I doing something wrong?