Free Directory, Listing & Classifieds WordPress Plugin › Support › General › HivePress › Display category name
Hello, I’ve got listings category ID but how can i echo category name with this ID only?
If you’re sure that it exists, you can use this code:
echo get_term( $category_id )->name;
You must be logged in to reply to this topic.
Don't have an account? Register
Already have an account? Sign In
Please enter your username or email address, you will receive a link to create a new password via email.