Updating renderLeftNav to use the post type