Added template for pin custom post type