Origin commit

This commit is contained in:
Hoang Huu
2019-09-10 11:27:33 +07:00
commit 499e068e4f
844 changed files with 188705 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<?php
global $property;
$statuses = $property->get_status();
if ( is_wp_error( $statuses ) || ! $statuses ) {
return;
}
?>
<ul class="property-status">
<?php foreach ( $statuses as $key => $value ) : ?>
<li class="property-status-item property-status-<?php echo esc_attr( $value->slug ); ?>">
<span class="label-status label"><?php echo esc_html( $value->name ); ?></span>
</li>
<?php endforeach; ?>
</ul>