Added post types to the sidebar conditional.