Important:
This support area is for Kalium 3 users only.
Support for Kalium 4 has moved to our new platform at support.laborator.co.
If you’re using Kalium 4, please create a new account there using your email and license key. A password will be sent to you automatically.
Php code for displaying portfolio category name in portfolio detail page?
Tried the following:
<?php the_category();?>
<?php $categories = get_the_category();foreach ( $categories as $category ) {echo $category;}?>
<?php
$category = implode(" ", get_the_terms( get_the_ID(), 'portfolio_entries' ) );
echo $category;
?>
<?php foreach((get_the_category()) as $category) { echo $category->cat_name . ' '; } ?>
<?php echo esc_html( $sub_category;?>
Hi,
Where do you want to display portfolio categories, in loop page or single project page?
Probably give me the URL of that page so I can figure out a solution for you.