Opal-Estate-Pro/templates/parts/property-categories.php

11 lines
262 B
PHP
Raw Permalink Normal View History

2019-09-10 06:27:33 +02:00
<?php
global $property;
2019-10-10 04:33:38 +02:00
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>'
);