Hello,
Great work for this theme!
I am currently customizing the theme to adapt it to my client's processes, and I need to display either the course events, either the curriculum depending on the course category (taxonomy 'course-cat' has 2 values: online and offline)
Is there a way like the wp_get_post_terms() function to get my course cat in the single course template?
Have a good day!
My bad. I found out,
$post = get_post();
$post_id = $post->ID;
$terms = wp_get_post_terms( $post_id, 'course-cat' );
works like a charm for courses as well!
Resolved :-)
@morgan,
Really appreciate your effort.
Thanks for confirming that your issue is resolved. Closing this topic now.