Fix frontend setitng
This commit is contained in:
parent
ca997b7dde
commit
2e48bafe16
@ -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>
|
||||
|
@ -9,7 +9,7 @@ $address = get_post_meta( get_the_ID(), OPALESTATE_AGENCY_PREFIX . 'address',
|
||||
<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" data-toggle="tooltip" data-placement="top" title="<?php esc_attr_e( 'Featured Agency', 'opalestate-pro' ); ?>">
|
||||
<?php esc_html_e( 'Featured', 'opalestate-pro' ); ?>
|
||||
@ -24,7 +24,7 @@ $address = get_post_meta( get_the_ID(), OPALESTATE_AGENCY_PREFIX . 'address',
|
||||
<h4 class="agency-box-title text-uppercase">
|
||||
<a href="<?php the_permalink(); ?>"><?php the_title() ?></a>
|
||||
</h4><!-- /.agency-box-title -->
|
||||
<?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>
|
||||
|
@ -17,7 +17,7 @@ $address = $agency->get_meta( 'address' ); ?>
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
</div>
|
||||
<?php if ( $agency->is_featured() ): ?>
|
||||
<?php if ( 'on' === $agency->is_featured() ): ?>
|
||||
<div class="agency-label">
|
||||
<span class="label label-featured" aria-label="<?php esc_html_e( 'Featured Agency', 'opalestate-pro' ); ?>"
|
||||
title="<?php esc_html_e( 'Featured Agency', 'opalestate-pro' ); ?>">
|
||||
@ -26,7 +26,7 @@ $address = $agency->get_meta( '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_html_e( 'Trusted Member', 'opalestate-pro' ); ?>" title="<?php esc_html_e( 'Trusted Member', 'opalestate-pro' ); ?>">
|
||||
<i class="fas fa-star"></i>
|
||||
</span>
|
||||
|
Loading…
Reference in New Issue
Block a user