Added check for built in post types before outputting the button