Opal-Estate-Pro/templates/parts/property-categories.php
2019-10-10 09:33:38 +07:00

11 lines
262 B
PHP
Executable File

<?php
global $property;
echo get_the_term_list(
$property->get_id(),
'property_category',
'<div class="property-categories-list"><span class="property-categories-list__label">' . esc_html__( 'Categories:', 'opalestate-pro' ) . '</span>',
', ',
'</div>'
);