This commit is contained in:
ThemeLexus 2019-09-28 16:41:11 +07:00
commit d4e5d760f6
47 changed files with 210 additions and 7723 deletions

View File

@ -49,7 +49,8 @@
}
.uploader-item-preview .btn-close::before {
content: '\f00d';
font-family: Fontawesome;
font-family: "Font Awesome 5 Free";
transition: all .3s ease-in-out;
}
.uploader-item-preview .preview-icon {

View File

@ -547,7 +547,7 @@ span.cmb2-metabox-description {
}
.opalestate-submission-form .btn-submit-cmb::before {
content: "\f138";
font-family: Fontawesome;
font-family: "Font Awesome 5 Free";
margin-right: 18px;
padding-right: 20px;
}

View File

@ -2349,39 +2349,6 @@ ul.property-meta-list {
display: inline-block;
font-style: unset; }
i[class*="icon-property-"] {
font-family: "Font Awesome 5 Free"; }
.icon-property-areasize:before {
content: "\f047"; }
.icon-property-bedrooms:before {
content: "\f236"; }
.icon-property-bathrooms:before {
content: "\f2cd"; }
.icon-property-parking:before {
content: "\f1b9"; }
.icon-property-builtyear:before {
content: "\f073"; }
.icon-property-plotsize:before {
content: "\f278"; }
.icon-property-orientation:before {
content: "\f14e"; }
.icon-property-livingrooms:before {
content: "\f26c"; }
.icon-property-kitchens:before {
content: "\f0f5"; }
.icon-property-amountrooms:before {
content: "\f1ad"; }
/** Grid **/
.property-grid .entry-content {
padding: 0 20px 15px; }
@ -2900,9 +2867,11 @@ ul.property-status {
line-height: 1; }
.opalestate-rating__stars::before {
font-family: "Font Awesome 5 Free";
font-weight: 400;
font-size: inherit;
text-rendering: auto;
content: "\f005\f005\f005\f005\f005";
font-weight: 400;
opacity: 0.5;
position: absolute;
top: 0;
@ -2919,6 +2888,7 @@ ul.property-status {
font-size: inherit;
text-rendering: auto;
content: "\f005\f005\f005\f005\f005";
font-weight: 400;
color: #f6be15;
position: absolute;
top: 0;
@ -2941,21 +2911,27 @@ p.stars a {
height: 1em;
line-height: 1;
font-family: "Font Awesome 5 Free";
content: "\f006";
font-weight: 400;
content: "\f005";
text-indent: 0; }
p.stars a:hover ~ a::before {
content: "\f006"; }
content: "\f005";
font-weight: 400; }
p.stars:hover a::before {
content: '\f005'; }
content: '\f005';
font-weight: 900; }
p.stars.selected a.active::before {
font-weight: 900;
content: '\f005'; }
p.stars.selected a.active ~ a::before {
content: '\f006'; }
font-weight: 400;
content: '\f005'; }
p.stars.selected a:not(.active)::before {
font-weight: 900;
content: '\f005'; }
.opalestate-mortgage-chart-svg {

View File

@ -1,6 +1,7 @@
// Functions
// --------------------------------------------------
// Position mixin
//==========================================
// @param [string] $position: position type

View File

@ -99,12 +99,13 @@ ul.property-status{
font-size: $font-size-base;
width: calc(#{$font-size-base}*5 - 5px);
line-height: 1;
&::before{
font-family:$font-family-icon;
font-weight: 400;
font-size: inherit;
text-rendering: auto;
content: "\f005\f005\f005\f005\f005";
font-weight: 400;
opacity: 0.5;
position: absolute;
top: 0;
@ -122,6 +123,7 @@ ul.property-status{
font-size: inherit;
text-rendering: auto;
content: "\f005\f005\f005\f005\f005";
font-weight: 400;
color: #f6be15;
position: absolute;
top: 0;
@ -138,7 +140,6 @@ p.stars {
text-indent: -999em;
display: inline-block;
text-decoration: none;
&::before {
display: block;
position: absolute;
@ -148,14 +149,15 @@ p.stars {
height: 1em;
line-height: 1;
font-family: $font-family-icon;
content: "\f006";
font-weight: 400;
content: "\f005";
text-indent: 0;
}
&:hover {
~ a::before {
content: "\f006";
content: "\f005";
font-weight: 400;
}
}
}
@ -163,8 +165,8 @@ p.stars {
&:hover {
a {
&::before {
content: '\f005';
font-weight: 900;
}
}
}
@ -172,19 +174,19 @@ p.stars {
&.selected {
a.active {
&::before {
font-weight: 900;
content: '\f005';
}
~ a::before {
content: '\f006';
font-weight:400;
content: '\f005';
}
}
a:not( .active ) {
a:not(.active ) {
&::before {
font-weight: 900;
content: '\f005';
}
}

View File

@ -237,49 +237,6 @@ ul.property-meta-list{
font-style: unset;
}
}
i[class*="icon-property-"]{
font-family: $font-family-icon;
}
.icon-property-areasize:before{
content: "\f047";
}
.icon-property-bedrooms:before{
content: "\f236";
}
.icon-property-bathrooms:before{
content: "\f2cd";
}
.icon-property-parking:before{
content: "\f1b9";
}
.icon-property-builtyear:before{
content: "\f073";
}
.icon-property-plotsize:before{
content: "\f278";
}
.icon-property-orientation:before{
content: "\f14e";
}
.icon-property-livingrooms:before{
content: "\f26c";
}
.icon-property-kitchens:before{
content: "\f0f5";
}
.icon-property-amountrooms:before{
content: "\f1ad";
}
/** Grid **/
.property-grid{

View File

@ -72,11 +72,18 @@ class Opalestate_Settings_General_Tab extends Opalestate_Settings_Base_Tab {
],
[
'name' => esc_html__( 'My Account Page', 'opalestate-pro' ),
'desc' => esc_html__( 'This is page use User login and register an account, or reset password.', 'opalestate-pro' ),
'desc' => esc_html__( 'This is page used for login and register an account, or reset password.', 'opalestate-pro' ),
'id' => 'user_myaccount_page',
'type' => 'select',
'options' => $pages,
],
[
'name' => esc_html__( 'Terms and Conditions Page', 'opalestate-pro' ),
'desc' => esc_html__( 'This is page used for terms and conditions.', 'opalestate-pro' ),
'id' => 'user_terms_page',
'type' => 'select',
'options' => $pages,
],
[
'name' => esc_html__( 'Enable Message Database', 'opalestate-pro' ),
'desc' => esc_html__( 'Allow User send message Contact/Equire via email and saved into database to exchange theirs message direct in User Message Management',

View File

@ -79,7 +79,7 @@ class Opalestate_Settings_Property_Tab extends Opalestate_Settings_Base_Tab {
}
$fields[] = [
'name' => esc_html__( 'Show Meta Information in Grid and Single Page', 'opalestate-pro' ),
'name' => esc_html__( 'Show Meta Information in property collection.', 'opalestate-pro' ),
'id' => 'show_property_meta',
'type' => 'multicheck',
'options' => $checkes,

View File

@ -32,7 +32,7 @@ function opalestate_property_render_field_template( $field, $label, $type = 'sel
case 'input': ?>
<label class="opalestate-label opalestate-label--<?php echo sanitize_html_class( $field ); ?>"><?php echo esc_html( $label ); ?></label>
<div class="input-group-number">
<i class="fa icon-property-<?php echo esc_attr( $field ); ?>"></i>
<i class="<?php echo opalestate_get_property_meta_icon( $field ); ?>"></i>
<input class="form-control" value="1" type="text" name="info[<?php echo $field; ?>]" placeholder="<?php echo esc_attr( $label ); ?>"/>
<div class="btn-actions">
<span class="btn-minus"><i class="fa fa-minus"></i></span>

View File

@ -1162,3 +1162,54 @@ function opalestate_get_property_statuses() {
'expired' => esc_html__( 'Expired', 'opalestate-pro' ),
] );
}
/**
* Returns property meta icon classes.
*
* @param $key
*/
function opalestate_get_property_meta_icon( $key ) {
$classes = [];
$classes[] = 'icon-property-' . esc_attr( $key );
$prefix = 'far';
$classes[] = $prefix;
switch ( $key ) {
case 'builtyear':
$icon = $prefix . '-' . 'calendar';
break;
case 'parking':
$icon = $prefix . '-' . 'car';
break;
case 'bedrooms':
$icon = $prefix . '-' . 'bed';
break;
case 'bathrooms':
$icon = $prefix . '-' . 'bath';
break;
case 'plotsize':
$icon = $prefix . '-' . 'map';
break;
case 'areasize':
$icon = $prefix . '-' . 'arrows-alt';
break;
case 'orientation':
$icon = $prefix . '-' . 'compass';
break;
case 'livingrooms':
$icon = $prefix . '-' . 'tv';
break;
case 'kitchens':
$icon = $prefix . '-' . 'utensils';
break;
case 'amountrooms':
$icon = $prefix . '-' . 'building';
break;
default:
$icon = $key;
break;
}
$classes[] = apply_filters( 'opalestate_property_meta_icon', $icon, $key );
return esc_attr( implode( ' ', array_map( 'sanitize_html_class', $classes ) ) );
}

View File

@ -571,11 +571,15 @@ class Opalestate_Property {
return $this->get_metabox_value( 'gallery', true );
}
/**
* Count gallery images.
*
* @return int
*/
public function get_gallery_count() {
$count = $this->get_gallery();
return count( $count );
return is_array( $count ) && $count ? count( $count ) : 0;
}
/**

View File

@ -142,7 +142,7 @@ function opalestate_management_user_menu_tabs() {
];
$menu['reviews'] = [
'icon' => 'fa fa-star',
'icon' => 'far fa-star',
'link' => 'reviews',
'title' => esc_html__( 'Reviews', 'opalestate-pro' ),
'id' => isset( $opalestate_options['reviews_page'] ) ? $opalestate_options['reviews_page'] : 0,
@ -167,7 +167,7 @@ function opalestate_management_user_menu_tabs() {
$statistics = new OpalEstate_User_Statistics();
$menu['myproperties'] = [
'icon' => 'fa fa-building',
'icon' => 'fas fa-building',
'link' => 'submission_list',
'title' => esc_html__( 'My Properties', 'opalestate-pro' ) . '<span class="count">' . $statistics->get_count_properties() . '</span>',
'id' => isset( $opalestate_options['submission_list_page'] ) ? $opalestate_options['submission_list_page'] : 0,

7529
package-lock.json generated

File diff suppressed because it is too large Load Diff

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="fas 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="fas 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="fas 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,8 +28,8 @@ $template_style = isset( $args['style'] ) && $args['style'] ? sanitize_text_fiel
<?php if ( absint( $query->post_count ) > absint( $item ) ) : ?>
<div class="swiper-pagination"></div>
<div class="swiper-button-prev"></div>
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"> <i class="fas fa-angle-left"></i></div>
<div class="swiper-button-next"> <i class="fas fa-angle-right"></i></div>
<?php endif; ?>
</div>
<?php else: ?>

View File

@ -18,7 +18,8 @@ if ( empty( $meta_content ) ) {
<?php foreach ( $meta as $key => $info ) : ?>
<?php if ( trim( $info['value'] ) ) : ?>
<li class="property-label-<?php echo esc_attr( $key ); ?>" title="<?php echo esc_attr( $info['label'] ); ?>">
<span class="hint--top" aria-label="<?php echo esc_attr( $info['label'] ); ?>" title="<?php echo esc_attr( $info['label'] ); ?>"><i class="icon-property-<?php echo esc_attr( $key ); ?>"></i></span>
<span class="hint--top" aria-label="<?php echo esc_attr( $info['label'] ); ?>" title="<?php echo esc_attr( $info['label'] ); ?>">
<i class="<?php echo opalestate_get_property_meta_icon( $key ); ?>"></i></span>
<span class="label-property"><?php echo esc_html( $info['label'] ); ?></span>
<span class="label-content"><?php echo apply_filters( 'opalestate-pro' . $key . '_unit_format', trim( $info['value'] ) ); ?></span>
</li>

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="fas 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="fas 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

@ -23,12 +23,13 @@ if ( ! $infos && ! $taxs ) {
</div>
</li>
<?php endif; ?>
<?php if ( $infos ): ?>
<?php foreach ( $infos as $key => $info ) : ?>
<?php if ( $info['value'] ) : ?>
<li class="wp-col-md-6 ">
<div class="property-label-<?php echo esc_attr( $key ); ?>">
<h6><i class="fa icon-property-<?php echo esc_attr( $key ); ?>"></i> <?php echo esc_html( $info['label'] ); ?> : </h6>
<h6><i class="<?php echo opalestate_get_property_meta_icon( $key ); ?>"></i> <?php echo esc_html( $info['label'] ); ?> : </h6>
<span><?php echo apply_filters( 'opalestate_' . $key . '_unit_format', trim( $info['value'] ) ); ?></span>
</div>
</li>

View File

@ -26,7 +26,7 @@ $meta = $property->get_meta_shortinfo();
<?php if ( $meta ) : ?>
<?php foreach ( $meta as $key => $info ) : ?>
<li class="property-label-<?php echo esc_attr( $key ); ?>">
<i class="icon-property-<?php echo esc_attr( $key ); ?>"></i><?php echo esc_html( $info['label'] ); ?> <span>
<i class="<?php echo opalestate_get_property_meta_icon( $key ); ?>"></i><?php echo esc_html( $info['label'] ); ?> <span>
<?php echo apply_filters( 'opalestate-pro' . $key . '_unit_format', trim( $info['value'] ) ); ?></span>
</li>
<?php endforeach; ?>

View File

@ -68,8 +68,8 @@
$count_galleries = $count_galleries + count( $galleries );
?>
<?php if ( $count_galleries > $columns ) : ?>
<div class="swiper-button-prev"></div>
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"> <i class="fas fa-angle-left"></i></div>
<div class="swiper-button-next"> <i class="fas fa-angle-right"></i></div>
<?php endif; ?>
<div class="swiper-wrapper">

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

@ -11,7 +11,7 @@ if ( empty( $meta_content ) ) {
<?php if ( trim( $info['value'] ) ) : ?>
<li class="property-label-<?php echo esc_attr( $key ); ?>">
<div class="icon-box">
<i class="icon-property-<?php echo esc_attr( $key ); ?>"></i>
<i class="<?php echo opalestate_get_property_meta_icon( $key ); ?>"></i>
</div>
<div class="info-meta">
<span class="label-content">

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="fas fa-star"></i>
</span>
<?php endif; ?>
@ -48,7 +48,7 @@
<?php $email = get_post_meta( $id, $prefix . 'email', true ); ?>
<?php if ( ! empty( $email ) ) : ?>
<div class="agent-box-email">
<i class="fa fa-envelope"></i>
<i class="fa fa-envelope"></i>
<a href="mailto:<?php echo esc_attr( $email ); ?>">
<span><?php echo esc_attr( $email ); ?></span>
</a>
@ -80,7 +80,7 @@
<?php $web = get_post_meta( $id, $prefix . 'web', true ); ?>
<?php if ( ! empty( $web ) ) : ?>
<div class="agent-box-web">
<i class="fa fa-globe"></i>
<i class="fa fa-globe"></i>
<a href="<?php echo esc_attr( $web ); ?>" rel="nofollow" target="_blank">
<span><?php echo esc_attr( $web ); ?></span>
</a>
@ -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="fas 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="fas 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="fas 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

@ -59,7 +59,7 @@ $meta = $property->get_meta_shortinfo();
<?php if ( $meta ) : ?>
<?php foreach ( $meta as $key => $info ) : ?>
<li class="property-label-<?php echo esc_attr( $key ); ?>" data-toggle="tooltip" data-placement="top" title="<?php echo esc_attr( $info['label'] ); ?>">
<i class="icon-property-<?php echo esc_attr( $key ); ?>"></i>
<i class="<?php echo opalestate_get_property_meta_icon( $key ); ?>"></i>
<span class="label-property"><?php echo esc_html( $info['label'] ); ?></span>
<span class="label-content"><?php echo apply_filters( 'opalestate-pro' . $key . '_unit_format', trim( $info['value'] ) ); ?></span>
</li>

View File

@ -1,8 +1,8 @@
<?php
if( $existed != false || $existed != '' ) {
$fav_class = 'fa fa-heart';
$fav_class = 'fas fa-heart';
} else {
$fav_class = 'fa fa-heart-o';
$fav_class = 'far fa-heart';
}
$need_login = '';
if( !is_user_logged_in() ){

View File

@ -75,10 +75,10 @@ $types = OpalEstate_User::get_user_types();
</p>
<?php endif; ?>
<?php $terms_page = get_permalink( opalestate_get_option( 'user_terms_page', '/' ) ); ?>
<p class="opalestate-form-field i-agree validate-required">
<label><?php esc_html_e( 'I agree with', 'opalestate-pro' ); ?> <span class="required">*</span></label>
<a href="#"><?php esc_html_e( 'terms & conditions', 'opalestate-pro' ); ?></a>
<a href="<?php echo esc_url( $terms_page ? $terms_page : '#' ); ?>" title="<?php esc_attr_e( 'terms & conditions', 'opalestate-pro' ); ?>" target="_blank"><?php esc_html_e( 'terms & conditions', 'opalestate-pro' ); ?></a>
<input type="checkbox" name="confirmed_register" id="confirmed_register" required="required" class="comfirmed-box"/>
</p>

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>