I'm using the Jetpack plugin with Wordpress. I've got the portfolio post type working, but now I'm trying to call the project type to display in my content-jetpack-portfolio-single.php file. Apparently, project types and project tags are custom taxonomies, so the usual calls for categories and tags aren't working.
The Github repo uses the following code, but it's throwing up an undefined function error.
get_project_type();
I then found this link, which claims to display the project type with:
Jetpack_Portfolio::get_project_type( $post_id );
This produces no PHP error, but also no content, even after triple-checking the ID parameter.
I'm using Underscores as my base theme, and this code is being entered inside the loop.