Update font

This commit is contained in:
Hoang Huu 2019-09-28 14:21:28 +07:00
parent ab7b289eeb
commit f7b1996b75
25 changed files with 96 additions and 81 deletions

View File

@ -15,7 +15,7 @@ $agent = new OpalEstate_Agent();
<?php endif; ?>
<?php if ( $agent->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>
<i class="fab fa-star"></i>
</span>
<?php endif; ?>
</header>
@ -85,27 +85,32 @@ $agent = new OpalEstate_Agent();
<?php if ( $socials ) : ?>
<div class="opalestate-social-icons">
<?php if ( isset( $socials['facebook'] ) && $socials['facebook'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-facebook" href="<?php echo esc_url( $socials['facebook'] ); ?>" target="_blank"> <i class="fa fa-facebook"></i> </a>
<a class="opalestate-social-white radius-x opalestate-social-facebook" href="<?php echo esc_url( $socials['facebook'] ); ?>" target="_blank"> <i class="fab
fa-facebook"></i> </a>
<?php endif; ?>
<?php if ( isset( $socials['twitter'] ) && $socials['twitter'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-twitter" href="<?php echo esc_url( $socials['twitter'] ); ?>" target="_blank"><i class="fa fa-twitter"></i> </a>
<a class="opalestate-social-white radius-x opalestate-social-twitter" href="<?php echo esc_url( $socials['twitter'] ); ?>" target="_blank"><i class="fab fa-twitter"></i>
</a>
<?php endif; ?>
<?php if ( isset( $socials['pinterest'] ) && $socials['pinterest'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-printerest" href="<?php echo esc_url( $socials['pinterest'] ); ?>" target="_blank"><i class="fa fa-pinterest"></i> </a>
<a class="opalestate-social-white radius-x opalestate-social-printerest" href="<?php echo esc_url( $socials['pinterest'] ); ?>" target="_blank"><i class="fab
fa-pinterest"></i> </a>
<?php endif; ?>
<?php if ( isset( $socials['google'] ) && $socials['google'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-google" href="<?php echo esc_url( $socials['google'] ); ?>" target="_blank"> <i class="fa fa-google"></i></a>
<a class="opalestate-social-white radius-x opalestate-social-google" href="<?php echo esc_url( $socials['google'] ); ?>" target="_blank"> <i class="fab fa-google"></i></a>
<?php endif; ?>
<?php if ( isset( $socials['instagram'] ) && $socials['instagram'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-instagram" href="<?php echo esc_url( $socials['instagram'] ); ?>" target="_blank"> <i class="fa fa-instagram"></i></a>
<a class="opalestate-social-white radius-x opalestate-social-instagram" href="<?php echo esc_url( $socials['instagram'] ); ?>" target="_blank"> <i class="fab
fa-instagram"></i></a>
<?php endif; ?>
<?php if ( isset( $socials['linkedIn'] ) && $socials['linkedIn'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-linkedIn" href="<?php echo esc_url( $socials['linkedIn'] ); ?>" target="_blank"> <i class="fa fa-linkedIn"></i></a>
<a class="opalestate-social-white radius-x opalestate-social-linkedIn" href="<?php echo esc_url( $socials['linkedIn'] ); ?>" target="_blank"> <i class="fab
fa-linkedIn"></i></a>
<?php endif; ?>
</div>
<?php endif; ?>

View File

@ -25,7 +25,7 @@ $agent = new OpalEstate_Agent();
<?php if ( $agent->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>
<i class="fab fa-star"></i>
</span>
<?php endif; ?>
</h4><!-- /.agent-box-title -->
@ -43,27 +43,33 @@ $agent = new OpalEstate_Agent();
<?php if ( $socials ) : ?>
<div class="opalestate-social-icons">
<?php if ( isset( $socials['facebook'] ) && $socials['facebook'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-facebook" href="<?php echo esc_url( $socials['facebook'] ); ?>" target="_blank"> <i class="fa fa-facebook"></i> </a>
<a class="opalestate-social-white radius-x opalestate-social-facebook" href="<?php echo esc_url( $socials['facebook'] ); ?>" target="_blank"> <i class="fab
fa-facebook"></i> </a>
<?php endif; ?>
<?php if ( isset( $socials['twitter'] ) && $socials['twitter'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-twitter" href="<?php echo esc_url( $socials['twitter'] ); ?>" target="_blank"><i class="fa fa-twitter"></i> </a>
<a class="opalestate-social-white radius-x opalestate-social-twitter" href="<?php echo esc_url( $socials['twitter'] ); ?>" target="_blank"><i class="fab
fa-twitter"></i> </a>
<?php endif; ?>
<?php if ( isset( $socials['pinterest'] ) && $socials['pinterest'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-printerest" href="<?php echo esc_url( $socials['pinterest'] ); ?>" target="_blank"><i class="fa fa-pinterest"></i> </a>
<a class="opalestate-social-white radius-x opalestate-social-printerest" href="<?php echo esc_url( $socials['pinterest'] ); ?>" target="_blank"><i class="fab
fa-pinterest"></i> </a>
<?php endif; ?>
<?php if ( isset( $socials['google'] ) && $socials['google'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-google" href="<?php echo esc_url( $socials['google'] ); ?>" target="_blank"> <i class="fa fa-google"></i></a>
<a class="opalestate-social-white radius-x opalestate-social-google" href="<?php echo esc_url( $socials['google'] ); ?>" target="_blank"> <i class="fab
fa-google"></i></a>
<?php endif; ?>
<?php if ( isset( $socials['instagram'] ) && $socials['instagram'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-instagram" href="<?php echo esc_url( $socials['instagram'] ); ?>" target="_blank"> <i class="fa fa-instagram"></i></a>
<a class="opalestate-social-white radius-x opalestate-social-instagram" href="<?php echo esc_url( $socials['instagram'] ); ?>" target="_blank"> <i class="fab
fa-instagram"></i></a>
<?php endif; ?>
<?php if ( isset( $socials['linkedIn'] ) && $socials['linkedIn'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-linkedIn" href="<?php echo esc_url( $socials['linkedIn'] ); ?>" target="_blank"> <i class="fa fa-linkedIn"></i></a>
<a class="opalestate-social-white radius-x opalestate-social-linkedIn" href="<?php echo esc_url( $socials['linkedIn'] ); ?>" target="_blank"> <i class="fab
fa-linkedIn"></i></a>
<?php endif; ?>
</div>
<?php endif; ?>

View File

@ -20,7 +20,7 @@ $property = opalesetate_property( get_the_ID() );
<div class="property-address">
<?php if ( $property->latitude && $property->longitude ) : ?>
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
<span class="property-view-map"><i class="fa fa-map-marker"></i></span>
<span class="property-view-map"><i class="fas fa-map-marker-alt"></i></span>
</a>
<?php endif; ?>

View File

@ -15,7 +15,7 @@ $property = opalesetate_property( get_the_ID() );
<div class="property-address">
<?php if ( $property->latitude && $property->longitude ) : ?>
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
<span class="property-view-map"><i class="fa fa-map-marker"></i></span>
<span class="property-view-map"><i class="fas fa-map-marker-alt"></i></span>
</a>
<?php endif; ?>

View File

@ -29,7 +29,7 @@ $property = opalesetate_property( get_the_ID() );
<div class="property-address">
<?php if ( $property->latitude && $property->longitude ) : ?>
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
<span class="property-view-map"><i class="fa fa-map-marker"></i></span>
<span class="property-view-map"><i class="fas fa-map-marker-alt"></i></span>
</a>
<?php endif; ?>

View File

@ -17,7 +17,7 @@ $property = opalesetate_property( get_the_ID() );
<div class="property-address">
<?php if ( $property->latitude && $property->longitude ) : ?>
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
<span class="property-view-map"><i class="fa fa-map-marker"></i></span>
<span class="property-view-map"><i class="fas fa-map-marker-alt"></i></span>
</a>
<?php endif; ?>

View File

@ -39,7 +39,7 @@ global $property, $post;
<div class="property-address">
<?php if( $property->latitude && $property->longitude ) : ?>
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
<span class="property-view-map"><i class="fa fa-map-marker"></i></span>
<span class="property-view-map"><i class="fas fa-map-marker-alt"></i></span>
</a>
<?php endif ; ?>

View File

@ -68,7 +68,7 @@ $id = time();
<div class="agency-google-map-content">
<?php if ( $address ): ?>
<p>
<i class="fa fa-map-marker"></i> <span><?php esc_html_e( 'Head Agency:', 'opalestate-pro' ); ?></span> <?php echo wp_kses_post( $address ); ?>.
<i class="fas fa-map-marker-alt"></i> <span><?php esc_html_e( 'Head Agency:', 'opalestate-pro' ); ?></span> <?php echo wp_kses_post( $address ); ?>.
<?php
$terms = wp_get_post_terms( get_the_ID(), 'opalestate_agency_location' );
if ( $terms && ! is_wp_error( $terms ) ) {

View File

@ -80,7 +80,7 @@ $id = time();
<div class="agent-google-map-content">
<?php if ( $address ): ?>
<p>
<i class="fa fa-map-marker"></i> <span><?php esc_html_e( 'Address:', 'opalestate-pro' ); ?></span> <?php echo wp_kses_post( $address ); ?>.
<i class="fas fa-map-marker-alt"></i> <span><?php esc_html_e( 'Address:', 'opalestate-pro' ); ?></span> <?php echo wp_kses_post( $address ); ?>.
<?php
$terms = wp_get_post_terms( get_the_ID(), 'opalestate_agent_location' );
if ( $terms && ! is_wp_error( $terms ) ) {

View File

@ -23,7 +23,7 @@ $property = opalesetate_property( $property_id );
<div class="pull-left">
<?php if ( $property->latitude && $property->longitude ) : ?>
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
<span class="property-address__view-map property-view-map"><i class="fa fa-map-marker"></i></span>
<span class="property-address__view-map property-view-map"><i class="fas fa-map-marker-alt"></i></span>
</a>
<?php endif; ?>

View File

@ -27,7 +27,7 @@ $header = apply_filters( 'opalestate_single_show_heading', true );
<div class="property-address clearfix">
<?php if ( $property->latitude && $property->longitude ) : ?>
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
<span class="property-address__view-map property-view-map"><i class="fa fa-map-marker"></i></span>
<span class="property-address__view-map property-view-map"><i class="fas fa-map-marker-alt"></i></span>
</a>
<?php endif; ?>

View File

@ -51,7 +51,7 @@ $header = apply_filters( 'opalestate_single_show_heading', true );
<div class="property-address clearfix">
<?php if ( $property->latitude && $property->longitude ) : ?>
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
<span class="property-address__view-map property-view-map"><i class="fa fa-map-marker"></i></span>
<span class="property-address__view-map property-view-map"><i class="fas fa-map-marker-alt"></i></span>
</a>
<?php endif; ?>

View File

@ -24,7 +24,7 @@ $header = apply_filters( 'opalestate_single_show_heading', true );
<div class="property-address clearfix">
<?php if ( $property->latitude && $property->longitude ) : ?>
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
<span class="property-address__view-map property-view-map"><i class="fa fa-map-marker"></i></span>
<span class="property-address__view-map property-view-map"><i class="fas fa-map-marker-alt"></i></span>
</a>
<?php endif; ?>

View File

@ -64,7 +64,7 @@ $header = apply_filters( 'opalestate_single_show_heading', true );
<div class="property-address clearfix">
<?php if ( $property->latitude && $property->longitude ) : ?>
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
<span class="property-address__view-map property-view-map"><i class="fa fa-map-marker"></i></span>
<span class="property-address__view-map property-view-map"><i class="fas fa-map-marker-alt"></i></span>
</a>
<?php endif; ?>

View File

@ -22,7 +22,7 @@ $header = apply_filters( 'opalestate_single_show_heading', true );
<div class="property-address clearfix">
<?php if ( $property->latitude && $property->longitude ) : ?>
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
<span class="property-address__view-map property-view-map"><i class="fa fa-map-marker"></i></span>
<span class="property-address__view-map property-view-map"><i class="fas fa-map-marker-alt"></i></span>
</a>
<?php endif; ?>

View File

@ -47,7 +47,7 @@ if ( $agent_id ) {
<?php endif; ?>
<?php if ( $agent->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="fa fa-star"></i>
<i class="fab fa-star"></i>
</span>
<?php endif; ?>
<?php endif; ?>
@ -119,27 +119,27 @@ if ( $agent_id ) {
<div class="opalestate-social-icons">
<?php if ( $facebook && $facebook != "#" && ! empty( $facebook ) ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-facebook" href="<?php echo esc_url( $facebook ); ?>"> <i class="fa fa-facebook"></i> </a>
<a class="opalestate-social-white radius-x opalestate-social-facebook" href="<?php echo esc_url( $facebook ); ?>"> <i class="fab fa-facebook"></i> </a>
<?php endif; ?>
<?php if ( $twitter && $twitter != "#" && ! empty( $twitter ) ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-twitter" href="<?php echo esc_url( $twitter ); ?>"><i class="fa fa-twitter"></i> </a>
<a class="opalestate-social-white radius-x opalestate-social-twitter" href="<?php echo esc_url( $twitter ); ?>"><i class="fab fa-twitter"></i> </a>
<?php endif; ?>
<?php if ( $pinterest && $pinterest != "#" && ! empty( $pinterest ) ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-pinterest" href="<?php echo esc_url( $pinterest ); ?>"><i class="fa fa-pinterest"></i> </a>
<a class="opalestate-social-white radius-x opalestate-social-pinterest" href="<?php echo esc_url( $pinterest ); ?>"><i class="fab fa-pinterest"></i> </a>
<?php endif; ?>
<?php if ( $google && $google != "#" && ! empty( $google ) ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-google" href="<?php echo esc_url( $google ); ?>"> <i class="fa fa-google"></i></a>
<a class="opalestate-social-white radius-x opalestate-social-google" href="<?php echo esc_url( $google ); ?>"> <i class="fab fa-google"></i></a>
<?php endif; ?>
<?php if ( $instagram && $instagram != "#" && ! empty( $instagram ) ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-instagram" href="<?php echo esc_url( $instagram ); ?>"> <i class="fa fa-instagram"></i></a>
<a class="opalestate-social-white radius-x opalestate-social-instagram" href="<?php echo esc_url( $instagram ); ?>"> <i class="fab fa-instagram"></i></a>
<?php endif; ?>
<?php if ( $linkedIn && $linkedIn != "#" && ! empty( $linkedIn ) ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-linkedIn" href="<?php echo esc_url( $linkedIn ); ?>"> <i class="fa fa-linkedIn"></i></a>
<a class="opalestate-social-white radius-x opalestate-social-linkedIn" href="<?php echo esc_url( $linkedIn ); ?>"> <i class="fab fa-linkedIn"></i></a>
<?php endif; ?>
</div>
</div><!-- /.agent-box-content -->

View File

@ -28,7 +28,7 @@ $address = $agency->get_meta( 'address' ); ?>
<?php if ( $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="fa fa-star"></i>
<i class="fab fa-star"></i>
</span>
<?php endif; ?>
</header>
@ -134,24 +134,24 @@ $address = $agency->get_meta( 'address' ); ?>
<div class="opalestate-social-icons">
<?php if ( $facebook && $facebook != "#" && ! empty( $facebook ) ) { ?>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $facebook ); ?>"> <i class="fa fa-facebook"></i> </a>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $facebook ); ?>"> <i class="fab fa-facebook"></i> </a>
<?php } ?>
<?php if ( $twitter && $twitter != "#" && ! empty( $twitter ) ) { ?>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $twitter ); ?>"><i class="fa fa-twitter"></i> </a>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $twitter ); ?>"><i class="fab fa-twitter"></i> </a>
<?php } ?>
<?php if ( $pinterest && $pinterest != "#" && ! empty( $pinterest ) ) { ?>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $pinterest ); ?>"><i class="fa fa-pinterest"></i> </a>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $pinterest ); ?>"><i class="fab fa-pinterest"></i> </a>
<?php } ?>
<?php if ( $google && $google != "#" && ! empty( $google ) ) { ?>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $google ); ?>"> <i class="fa fa-google"></i></a>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $google ); ?>"> <i class="fab fa-google"></i></a>
<?php } ?>
<?php if ( $instagram && $instagram != "#" && ! empty( $instagram ) ) { ?>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $instagram ); ?>"> <i class="fa fa-instagram"></i></a>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $instagram ); ?>"> <i class="fab fa-instagram"></i></a>
<?php } ?>
<?php if ( $linkedIn && $linkedIn != "#" && ! empty( $linkedIn ) ) { ?>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $linkedIn ); ?>"> <i class="fa fa-linkedIn"></i></a>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $linkedIn ); ?>"> <i class="fab fa-linkedIn"></i></a>
<?php } ?>
</div>

View File

@ -23,7 +23,7 @@ $agent = new OpalEstate_Agent();
<?php if ( $agent->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="fa fa-star"></i>
<i class="fab fa-star"></i>
</span>
<?php endif; ?>
</div><!-- /.agent-box-image -->
@ -89,27 +89,31 @@ $agent = new OpalEstate_Agent();
<?php if ( $socials ) : ?>
<div class="opalestate-social-icons">
<?php if ( isset( $socials['facebook'] ) && $socials['facebook'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-facebook" href="<?php echo esc_url( $socials['facebook'] ); ?>" target="_blank"> <i class="fa fa-facebook"></i> </a>
<a class="opalestate-social-white radius-x opalestate-social-facebook" href="<?php echo esc_url( $socials['facebook'] ); ?>" target="_blank"> <i class="fab fa-facebook"></i>
</a>
<?php endif; ?>
<?php if ( isset( $socials['twitter'] ) && $socials['twitter'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-twitter" href="<?php echo esc_url( $socials['twitter'] ); ?>" target="_blank"><i class="fa fa-twitter"></i> </a>
<a class="opalestate-social-white radius-x opalestate-social-twitter" href="<?php echo esc_url( $socials['twitter'] ); ?>" target="_blank"><i class="fab fa-twitter"></i> </a>
<?php endif; ?>
<?php if ( isset( $socials['pinterest'] ) && $socials['pinterest'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-printerest" href="<?php echo esc_url( $socials['pinterest'] ); ?>" target="_blank"><i class="fa fa-pinterest"></i> </a>
<a class="opalestate-social-white radius-x opalestate-social-printerest" href="<?php echo esc_url( $socials['pinterest'] ); ?>" target="_blank"><i class="fab
fa-pinterest"></i> </a>
<?php endif; ?>
<?php if ( isset( $socials['google'] ) && $socials['google'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-google" href="<?php echo esc_url( $socials['google'] ); ?>" target="_blank"> <i class="fa fa-google"></i></a>
<a class="opalestate-social-white radius-x opalestate-social-google" href="<?php echo esc_url( $socials['google'] ); ?>" target="_blank"> <i class="fab fa-google"></i></a>
<?php endif; ?>
<?php if ( isset( $socials['instagram'] ) && $socials['instagram'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-instagram" href="<?php echo esc_url( $socials['instagram'] ); ?>" target="_blank"> <i class="fa fa-instagram"></i></a>
<a class="opalestate-social-white radius-x opalestate-social-instagram" href="<?php echo esc_url( $socials['instagram'] ); ?>" target="_blank"> <i class="fab
fa-instagram"></i></a>
<?php endif; ?>
<?php if ( isset( $socials['linkedIn'] ) && $socials['linkedIn'] ) : ?>
<a class="opalestate-social-white radius-x opalestate-social-linkedIn" href="<?php echo esc_url( $socials['linkedIn'] ); ?>" target="_blank"> <i class="fa fa-linkedIn"></i></a>
<a class="opalestate-social-white radius-x opalestate-social-linkedIn" href="<?php echo esc_url( $socials['linkedIn'] ); ?>" target="_blank"> <i class="fab
fa-linkedIn"></i></a>
<?php endif; ?>
</div>
<?php endif; ?>

View File

@ -61,7 +61,7 @@
<?php if ( $property->latitude && $property->longitude ) : ?>
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
<span class="property-view-map">
<i class="fa fa-map-marker"></i>
<i class="fas fa-map-marker-alt"></i>
</span>
</a>
<?php endif; ?>

View File

@ -17,7 +17,7 @@
<div class="pull-left">
<?php if ( $property->latitude && $property->longitude ) : ?>
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
<span class="property-view-map"><i class="fa fa-map-marker"></i></span>
<span class="property-view-map"><i class="fas fa-map-marker-alt"></i></span>
</a>
<?php endif; ?>
<?php echo esc_html( $property->get_address() ); ?>

View File

@ -26,28 +26,28 @@ $args = array( 'position' => 'top', 'animation' => 'true' );
<?php if((bool)opalestate_options('facebook_share_blog',true)): ?>
<a class="bo-social-facebook" data-toggle="tooltip" data-placement="<?php echo esc_attr($args['position']); ?>" data-animation="<?php echo esc_attr($args['animation']); ?>" data-original-title="Facebook" href="http://www.facebook.com/sharer.php?s=100&p&#91;url&#93;=<?php the_permalink(); ?>&p&#91;title&#93;=<?php the_title(); ?>" target="_blank" title="<?php esc_html_e('Share on facebook', 'opalestate-pro'); ?>">
<i class="fa fa-facebook"></i>
<i class="fab fa-facebook"></i>
</a>
<?php endif; ?>
<?php if((bool)opalestate_options('twitter_share_blog',true)): ?>
<a class="bo-social-twitter" data-toggle="tooltip" data-placement="<?php echo esc_attr($args['position']); ?>" data-animation="<?php echo esc_attr($args['animation']); ?>" data-original-title="Twitter" href="http://twitter.com/home?status=<?php the_title(); ?> <?php the_permalink(); ?>" target="_blank" title="<?php esc_html_e('Share on Twitter', 'opalestate-pro'); ?>">
<i class="fa fa-twitter"></i>
<i class="fab fa-twitter"></i>
</a>
<?php endif; ?>
<?php if((bool)opalestate_options('linkedin_share_blog',true)): ?>
<a class="bo-social-linkedin" data-toggle="tooltip" data-placement="<?php echo esc_attr($args['position']); ?>" data-animation="<?php echo esc_attr($args['animation']); ?>" data-original-title="LinkedIn" href="http://linkedin.com/shareArticle?mini=true&amp;url=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" target="_blank" title="<?php esc_html_e('Share on LinkedIn', 'opalestate-pro'); ?>">
<i class="fa fa-linkedin"></i>
<i class="fab fa-linkedin"></i>
</a>
<?php endif; ?>
<?php if((bool)opalestate_options('tumblr_share_blog',true)): ?>
<a class="bo-social-tumblr" data-toggle="tooltip" data-placement="<?php echo esc_attr($args['position']); ?>" data-animation="<?php echo esc_attr($args['animation']); ?>" data-original-title="Tumblr" href="http://www.tumblr.com/share/link?url=<?php echo urlencode(get_permalink()); ?>&amp;name=<?php echo urlencode($post->post_title); ?>&amp;description=<?php echo urlencode(get_the_excerpt()); ?>" target="_blank" title="<?php esc_html_e('Share on Tumblr', 'opalestate-pro'); ?>">
<i class="fa fa-tumblr"></i>
<i class="fab fa-tumblr"></i>
</a>
<?php endif; ?>
@ -55,7 +55,7 @@ $args = array( 'position' => 'top', 'animation' => 'true' );
<a class="bo-social-google" data-toggle="tooltip" data-placement="<?php echo esc_attr($args['position']); ?>" data-animation="<?php echo esc_attr($args['animation']); ?>" data-original-title="Google plus" href="https://plus.google.com/share?url=<?php the_permalink(); ?>" onclick="javascript:window.open(this.href,
'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;" target="_blank" title="<?php esc_html_e('Share on Google plus', 'opalestate-pro'); ?>">
<i class="fa fa-google-plus"></i>
<i class="fab fa-google-plus"></i>
</a>
<?php endif; ?>
@ -63,7 +63,7 @@ $args = array( 'position' => 'top', 'animation' => 'true' );
<?php $full_image = wp_get_attachment_image_src(get_post_thumbnail_id(), 'full'); ?>
<a class="bo-social-pinterest" data-toggle="tooltip" data-placement="<?php echo esc_attr($args['position']); ?>" data-animation="<?php echo esc_attr($args['animation']); ?>" data-original-title="Pinterest" href="http://pinterest.com/pin/create/button/?url=<?php echo urlencode(get_permalink()); ?>&amp;description=<?php echo urlencode($post->post_title); ?>&amp;media=<?php echo urlencode($full_image[0]); ?>" target="_blank" title="<?php esc_html_e('Share on Pinterest', 'opalestate-pro'); ?>">
<i class="fa fa-pinterest"></i>
<i class="fab fa-pinterest"></i>
</a>
<?php endif; ?>

View File

@ -26,7 +26,7 @@
<?php if( $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="fa fa-star"></i>
<i class="fab fa-star"></i>
</span>
<?php endif; ?>
@ -96,24 +96,24 @@
?>
<div class="opalestate-social-icons">
<?php if( $facebook && $facebook != "#" && !empty($facebook) ){ ?>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $facebook ); ?>"> <i class="fa fa-facebook"></i> </a>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $facebook ); ?>"> <i class="fab fa-facebook"></i> </a>
<?php } ?>
<?php if( $twitter && $twitter != "#" && !empty($twitter) ){ ?>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $twitter ); ?>"><i class="fa fa-twitter"></i> </a>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $twitter ); ?>"><i class="fab fa-twitter"></i> </a>
<?php } ?>
<?php if( $pinterest && $pinterest != "#" && !empty($pinterest)){ ?>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $pinterest ); ?>"><i class="fa fa-pinterest"></i> </a>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $pinterest ); ?>"><i class="fab fa-pinterest"></i> </a>
<?php } ?>
<?php if( $google && $google != "#" && !empty($google) ){ ?>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $google ); ?>"> <i class="fa fa-google"></i></a>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $google ); ?>"> <i class="fab fa-google"></i></a>
<?php } ?>
<?php if( $instagram && $instagram != "#" && !empty($instagram) ){ ?>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $instagram ); ?>"> <i class="fa fa-instagram"></i></a>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $instagram ); ?>"> <i class="fab fa-instagram"></i></a>
<?php } ?>
<?php if( $linkedIn && $linkedIn != "#" && !empty($linkedIn) ){ ?>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $linkedIn ); ?>"> <i class="fa fa-linkedIn"></i></a>
<a class="opalestate-social-white radius-x" rel="nofollow" href="<?php echo esc_url( $linkedIn ); ?>"> <i class="fab fa-linkedIn"></i></a>
<?php } ?>
</div>

View File

@ -50,7 +50,7 @@
<?php if ( $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="fa fa-star"></i>
<i class="fab fa-star"></i>
</span>
<?php endif; ?>
@ -64,7 +64,7 @@
<?php $phone = get_user_meta( $user_id, $prefix . 'phone', true ); ?>
<?php if ( ! empty( $phone ) ) : ?>
<div class="agent-box-phone">
<i class="fa fa-phone"></i><span><a href="tel:<?php echo sanitize_title( $phone ); ?>"><?php echo esc_attr( $phone ); ?></a></span>
<i class="fab fa-phone"></i><span><a href="tel:<?php echo sanitize_title( $phone ); ?>"><?php echo esc_attr( $phone ); ?></a></span>
</div><!-- /.agent-box-phone -->
<?php endif; ?>
</div><!-- /.agent-box-content -->
@ -83,24 +83,24 @@
<div class="opalestate-social-icons text-center">
<?php if ( $facebook && $facebook != "#" && ! empty( $facebook ) ) { ?>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $facebook ); ?>"> <i class="fa fa-facebook"></i> </a>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $facebook ); ?>"> <i class="fab fa-facebook"></i> </a>
<?php } ?>
<?php if ( $twitter && $twitter != "#" && ! empty( $twitter ) ) { ?>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $twitter ); ?>"><i class="fa fa-twitter"></i> </a>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $twitter ); ?>"><i class="fab fa-twitter"></i> </a>
<?php } ?>
<?php if ( $pinterest && $pinterest != "#" && ! empty( $pinterest ) ) { ?>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $pinterest ); ?>"><i class="fa fa-pinterest"></i> </a>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $pinterest ); ?>"><i class="fab fa-pinterest"></i> </a>
<?php } ?>
<?php if ( $google && $google != "#" && ! empty( $google ) ) { ?>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $google ); ?>"> <i class="fa fa-google-plus"></i></a>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $google ); ?>"> <i class="fab fa-google-plus"></i></a>
<?php } ?>
<?php if ( $instagram && $instagram != "#" && ! empty( $instagram ) ) { ?>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $instagram ); ?>"> <i class="fa fa-instagram"></i></a>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $instagram ); ?>"> <i class="fab fa-instagram"></i></a>
<?php } ?>
<?php if ( $linkedIn && $linkedIn != "#" && ! empty( $linkedIn ) ) { ?>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $linkedIn ); ?>"> <i class="fa fa-linkedIn"></i></a>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $linkedIn ); ?>"> <i class="fab fa-linkedIn"></i></a>
<?php } ?>
</div>

View File

@ -65,7 +65,7 @@
<?php if ( $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="fa fa-star"></i>
<i class="fab fa-star"></i>
</span>
<?php endif; ?>
@ -124,24 +124,24 @@
<div class="opalestate-social-icons">
<?php if ( $facebook && $facebook != "#" && ! empty( $facebook ) ) { ?>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $facebook ); ?>"> <i class="fa fa-facebook"></i> </a>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $facebook ); ?>"> <i class="fab fa-facebook"></i> </a>
<?php } ?>
<?php if ( $twitter && $twitter != "#" && ! empty( $twitter ) ) { ?>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $twitter ); ?>"><i class="fa fa-twitter"></i> </a>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $twitter ); ?>"><i class="fab fa-twitter"></i> </a>
<?php } ?>
<?php if ( $pinterest && $pinterest != "#" && ! empty( $pinterest ) ) { ?>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $pinterest ); ?>"><i class="fa fa-pinterest"></i> </a>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $pinterest ); ?>"><i class="fab fa-pinterest"></i> </a>
<?php } ?>
<?php if ( $google && $google != "#" && ! empty( $google ) ) { ?>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $google ); ?>"> <i class="fa fa-google-plus"></i></a>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $google ); ?>"> <i class="fab fa-google-plus"></i></a>
<?php } ?>
<?php if ( $instagram && $instagram != "#" && ! empty( $instagram ) ) { ?>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $instagram ); ?>"> <i class="fa fa-instagram"></i></a>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $instagram ); ?>"> <i class="fab fa-instagram"></i></a>
<?php } ?>
<?php if ( $linkedIn && $linkedIn != "#" && ! empty( $linkedIn ) ) { ?>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $linkedIn ); ?>"> <i class="fa fa-linkedIn"></i></a>
<a class="opalestate-social-white radius-x" href="<?php echo esc_url( $linkedIn ); ?>"> <i class="fab fa-linkedIn"></i></a>
<?php } ?>
</div>

View File

@ -17,5 +17,5 @@ if ( ! $facebook_app_id || ! $facebook_secret ) {
?>
<a href="javascript:void(0);" rel="nofollow" title="<?php esc_attr_e( 'Facebook', 'opalestate-pro' ); ?>" class="js-opal-facebook-login opalestate-social-login-facebook-btn">
<i class="fa fa-facebook"></i><?php esc_html_e( 'Connect with Facebook', 'opalestate-pro' ); ?>
<i class="fab fa-facebook"></i><?php esc_html_e( 'Connect with Facebook', 'opalestate-pro' ); ?>
</a>