Created
February 6, 2015 18:05
-
-
Save tripflex/83777e99b03b77baa499 to your computer and use it in GitHub Desktop.
Job Category output on listing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$categories = get_the_terms( get_the_ID(), 'job_listing_category' ); | |
foreach ( $categories as $category ){ | |
echo $category->name; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment