Fix frontend setitng

This commit is contained in:
Hoang Huu
2020-02-28 16:12:39 +07:00
parent ca997b7dde
commit 2e48bafe16
3 changed files with 6 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ $address = get_post_meta( get_the_ID(), OPALESTATE_AGENCY_PREFIX . 'address',
<div class="agency-inner">
<header class="team-header agency-header">
<?php opalestate_get_loop_agent_thumbnail(); ?>
<?php if ( $agency->is_featured() ): ?>
<?php if ( 'on' === $agency->is_featured() ): ?>
<div class="agency-label">
<span class="label label-featured" aria-label="<?php esc_attr_e( 'Featured Agency', 'opalestate-pro' ); ?>" title="<?php esc_attr_e( 'Featured Agency', 'opalestate-pro' ); ?>">
<?php esc_html_e( 'Featured', 'opalestate-pro' ); ?>
@@ -16,7 +16,7 @@ $address = get_post_meta( get_the_ID(), OPALESTATE_AGENCY_PREFIX . 'address',
</div>
<?php endif; ?>
<?php if ( $agency->get_trusted() ): ?>
<?php if ( 'on' === $agency->get_trusted() ): ?>
<span class="trusted-label hint--top" aria-label="<?php esc_attr_e( 'Trusted Member', 'opalestate-pro' ); ?>" title="<?php esc_attr_e( 'Trusted Member', 'opalestate-pro' ); ?>">
<i class="fa fa-star"></i>
</span>