uapte
This commit is contained in:
commit
d4e5d760f6
@ -49,7 +49,8 @@
|
|||||||
}
|
}
|
||||||
.uploader-item-preview .btn-close::before {
|
.uploader-item-preview .btn-close::before {
|
||||||
content: '\f00d';
|
content: '\f00d';
|
||||||
font-family: Fontawesome;
|
font-family: "Font Awesome 5 Free";
|
||||||
|
|
||||||
transition: all .3s ease-in-out;
|
transition: all .3s ease-in-out;
|
||||||
}
|
}
|
||||||
.uploader-item-preview .preview-icon {
|
.uploader-item-preview .preview-icon {
|
||||||
|
@ -547,7 +547,7 @@ span.cmb2-metabox-description {
|
|||||||
}
|
}
|
||||||
.opalestate-submission-form .btn-submit-cmb::before {
|
.opalestate-submission-form .btn-submit-cmb::before {
|
||||||
content: "\f138";
|
content: "\f138";
|
||||||
font-family: Fontawesome;
|
font-family: "Font Awesome 5 Free";
|
||||||
margin-right: 18px;
|
margin-right: 18px;
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
}
|
}
|
||||||
|
@ -2349,39 +2349,6 @@ ul.property-meta-list {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-style: unset; }
|
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 **/
|
/** Grid **/
|
||||||
.property-grid .entry-content {
|
.property-grid .entry-content {
|
||||||
padding: 0 20px 15px; }
|
padding: 0 20px 15px; }
|
||||||
@ -2900,9 +2867,11 @@ ul.property-status {
|
|||||||
line-height: 1; }
|
line-height: 1; }
|
||||||
.opalestate-rating__stars::before {
|
.opalestate-rating__stars::before {
|
||||||
font-family: "Font Awesome 5 Free";
|
font-family: "Font Awesome 5 Free";
|
||||||
|
font-weight: 400;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
text-rendering: auto;
|
text-rendering: auto;
|
||||||
content: "\f005\f005\f005\f005\f005";
|
content: "\f005\f005\f005\f005\f005";
|
||||||
|
font-weight: 400;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -2919,6 +2888,7 @@ ul.property-status {
|
|||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
text-rendering: auto;
|
text-rendering: auto;
|
||||||
content: "\f005\f005\f005\f005\f005";
|
content: "\f005\f005\f005\f005\f005";
|
||||||
|
font-weight: 400;
|
||||||
color: #f6be15;
|
color: #f6be15;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -2941,21 +2911,27 @@ p.stars a {
|
|||||||
height: 1em;
|
height: 1em;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
font-family: "Font Awesome 5 Free";
|
font-family: "Font Awesome 5 Free";
|
||||||
content: "\f006";
|
font-weight: 400;
|
||||||
|
content: "\f005";
|
||||||
text-indent: 0; }
|
text-indent: 0; }
|
||||||
p.stars a:hover ~ a::before {
|
p.stars a:hover ~ a::before {
|
||||||
content: "\f006"; }
|
content: "\f005";
|
||||||
|
font-weight: 400; }
|
||||||
|
|
||||||
p.stars:hover a::before {
|
p.stars:hover a::before {
|
||||||
content: '\f005'; }
|
content: '\f005';
|
||||||
|
font-weight: 900; }
|
||||||
|
|
||||||
p.stars.selected a.active::before {
|
p.stars.selected a.active::before {
|
||||||
|
font-weight: 900;
|
||||||
content: '\f005'; }
|
content: '\f005'; }
|
||||||
|
|
||||||
p.stars.selected a.active ~ a::before {
|
p.stars.selected a.active ~ a::before {
|
||||||
content: '\f006'; }
|
font-weight: 400;
|
||||||
|
content: '\f005'; }
|
||||||
|
|
||||||
p.stars.selected a:not(.active)::before {
|
p.stars.selected a:not(.active)::before {
|
||||||
|
font-weight: 900;
|
||||||
content: '\f005'; }
|
content: '\f005'; }
|
||||||
|
|
||||||
.opalestate-mortgage-chart-svg {
|
.opalestate-mortgage-chart-svg {
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Functions
|
// Functions
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Position mixin
|
// Position mixin
|
||||||
//==========================================
|
//==========================================
|
||||||
// @param [string] $position: position type
|
// @param [string] $position: position type
|
||||||
|
@ -99,12 +99,13 @@ ul.property-status{
|
|||||||
font-size: $font-size-base;
|
font-size: $font-size-base;
|
||||||
width: calc(#{$font-size-base}*5 - 5px);
|
width: calc(#{$font-size-base}*5 - 5px);
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
|
||||||
&::before{
|
&::before{
|
||||||
font-family:$font-family-icon;
|
font-family:$font-family-icon;
|
||||||
|
font-weight: 400;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
text-rendering: auto;
|
text-rendering: auto;
|
||||||
content: "\f005\f005\f005\f005\f005";
|
content: "\f005\f005\f005\f005\f005";
|
||||||
|
font-weight: 400;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -122,6 +123,7 @@ ul.property-status{
|
|||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
text-rendering: auto;
|
text-rendering: auto;
|
||||||
content: "\f005\f005\f005\f005\f005";
|
content: "\f005\f005\f005\f005\f005";
|
||||||
|
font-weight: 400;
|
||||||
color: #f6be15;
|
color: #f6be15;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -138,7 +140,6 @@ p.stars {
|
|||||||
text-indent: -999em;
|
text-indent: -999em;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -148,14 +149,15 @@ p.stars {
|
|||||||
height: 1em;
|
height: 1em;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
font-family: $font-family-icon;
|
font-family: $font-family-icon;
|
||||||
content: "\f006";
|
font-weight: 400;
|
||||||
|
content: "\f005";
|
||||||
text-indent: 0;
|
text-indent: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
~ a::before {
|
~ a::before {
|
||||||
|
content: "\f005";
|
||||||
content: "\f006";
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -163,8 +165,8 @@ p.stars {
|
|||||||
&:hover {
|
&:hover {
|
||||||
a {
|
a {
|
||||||
&::before {
|
&::before {
|
||||||
|
|
||||||
content: '\f005';
|
content: '\f005';
|
||||||
|
font-weight: 900;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -172,19 +174,19 @@ p.stars {
|
|||||||
&.selected {
|
&.selected {
|
||||||
a.active {
|
a.active {
|
||||||
&::before {
|
&::before {
|
||||||
|
font-weight: 900;
|
||||||
content: '\f005';
|
content: '\f005';
|
||||||
}
|
}
|
||||||
|
|
||||||
~ a::before {
|
~ a::before {
|
||||||
|
font-weight:400;
|
||||||
content: '\f006';
|
content: '\f005';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a:not(.active ) {
|
a:not(.active ) {
|
||||||
&::before {
|
&::before {
|
||||||
|
font-weight: 900;
|
||||||
content: '\f005';
|
content: '\f005';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -237,49 +237,6 @@ ul.property-meta-list{
|
|||||||
font-style: unset;
|
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 **/
|
/** Grid **/
|
||||||
.property-grid{
|
.property-grid{
|
||||||
|
@ -72,11 +72,18 @@ class Opalestate_Settings_General_Tab extends Opalestate_Settings_Base_Tab {
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => esc_html__( 'My Account Page', 'opalestate-pro' ),
|
'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',
|
'id' => 'user_myaccount_page',
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'options' => $pages,
|
'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' ),
|
'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',
|
'desc' => esc_html__( 'Allow User send message Contact/Equire via email and saved into database to exchange theirs message direct in User Message Management',
|
||||||
|
@ -79,7 +79,7 @@ class Opalestate_Settings_Property_Tab extends Opalestate_Settings_Base_Tab {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$fields[] = [
|
$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',
|
'id' => 'show_property_meta',
|
||||||
'type' => 'multicheck',
|
'type' => 'multicheck',
|
||||||
'options' => $checkes,
|
'options' => $checkes,
|
||||||
|
@ -32,7 +32,7 @@ function opalestate_property_render_field_template( $field, $label, $type = 'sel
|
|||||||
case 'input': ?>
|
case 'input': ?>
|
||||||
<label class="opalestate-label opalestate-label--<?php echo sanitize_html_class( $field ); ?>"><?php echo esc_html( $label ); ?></label>
|
<label class="opalestate-label opalestate-label--<?php echo sanitize_html_class( $field ); ?>"><?php echo esc_html( $label ); ?></label>
|
||||||
<div class="input-group-number">
|
<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 ); ?>"/>
|
<input class="form-control" value="1" type="text" name="info[<?php echo $field; ?>]" placeholder="<?php echo esc_attr( $label ); ?>"/>
|
||||||
<div class="btn-actions">
|
<div class="btn-actions">
|
||||||
<span class="btn-minus"><i class="fa fa-minus"></i></span>
|
<span class="btn-minus"><i class="fa fa-minus"></i></span>
|
||||||
|
@ -1162,3 +1162,54 @@ function opalestate_get_property_statuses() {
|
|||||||
'expired' => esc_html__( 'Expired', 'opalestate-pro' ),
|
'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 ) ) );
|
||||||
|
}
|
||||||
|
@ -571,11 +571,15 @@ class Opalestate_Property {
|
|||||||
return $this->get_metabox_value( 'gallery', true );
|
return $this->get_metabox_value( 'gallery', true );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Count gallery images.
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
public function get_gallery_count() {
|
public function get_gallery_count() {
|
||||||
$count = $this->get_gallery();
|
$count = $this->get_gallery();
|
||||||
|
|
||||||
return count( $count );
|
return is_array( $count ) && $count ? count( $count ) : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -142,7 +142,7 @@ function opalestate_management_user_menu_tabs() {
|
|||||||
];
|
];
|
||||||
|
|
||||||
$menu['reviews'] = [
|
$menu['reviews'] = [
|
||||||
'icon' => 'fa fa-star',
|
'icon' => 'far fa-star',
|
||||||
'link' => 'reviews',
|
'link' => 'reviews',
|
||||||
'title' => esc_html__( 'Reviews', 'opalestate-pro' ),
|
'title' => esc_html__( 'Reviews', 'opalestate-pro' ),
|
||||||
'id' => isset( $opalestate_options['reviews_page'] ) ? $opalestate_options['reviews_page'] : 0,
|
'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();
|
$statistics = new OpalEstate_User_Statistics();
|
||||||
|
|
||||||
$menu['myproperties'] = [
|
$menu['myproperties'] = [
|
||||||
'icon' => 'fa fa-building',
|
'icon' => 'fas fa-building',
|
||||||
'link' => 'submission_list',
|
'link' => 'submission_list',
|
||||||
'title' => esc_html__( 'My Properties', 'opalestate-pro' ) . '<span class="count">' . $statistics->get_count_properties() . '</span>',
|
'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,
|
'id' => isset( $opalestate_options['submission_list_page'] ) ? $opalestate_options['submission_list_page'] : 0,
|
||||||
|
7529
package-lock.json
generated
7529
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -15,7 +15,7 @@ $agent = new OpalEstate_Agent();
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ( $agent->get_trusted() ): ?>
|
<?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' ); ?>">
|
<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>
|
</span>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</header>
|
</header>
|
||||||
@ -85,27 +85,32 @@ $agent = new OpalEstate_Agent();
|
|||||||
<?php if ( $socials ) : ?>
|
<?php if ( $socials ) : ?>
|
||||||
<div class="opalestate-social-icons">
|
<div class="opalestate-social-icons">
|
||||||
<?php if ( isset( $socials['facebook'] ) && $socials['facebook'] ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $socials['twitter'] ) && $socials['twitter'] ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $socials['pinterest'] ) && $socials['pinterest'] ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $socials['google'] ) && $socials['google'] ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $socials['instagram'] ) && $socials['instagram'] ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $socials['linkedIn'] ) && $socials['linkedIn'] ) : ?>
|
<?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; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -25,7 +25,7 @@ $agent = new OpalEstate_Agent();
|
|||||||
<?php if ( $agent->get_trusted() ): ?>
|
<?php if ( $agent->get_trusted() ): ?>
|
||||||
<span class="trusted-label hint--top" aria-label="<?php esc_attr_e( 'Trusted Member', 'opalestate-pro' ); ?>"
|
<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' ); ?>">
|
title="<?php esc_attr_e( 'Trusted Member', 'opalestate-pro' ); ?>">
|
||||||
<i class="fa fa-star"></i>
|
<i class="fas fa-star"></i>
|
||||||
</span>
|
</span>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</h4><!-- /.agent-box-title -->
|
</h4><!-- /.agent-box-title -->
|
||||||
@ -43,27 +43,33 @@ $agent = new OpalEstate_Agent();
|
|||||||
<?php if ( $socials ) : ?>
|
<?php if ( $socials ) : ?>
|
||||||
<div class="opalestate-social-icons">
|
<div class="opalestate-social-icons">
|
||||||
<?php if ( isset( $socials['facebook'] ) && $socials['facebook'] ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $socials['twitter'] ) && $socials['twitter'] ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $socials['pinterest'] ) && $socials['pinterest'] ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $socials['google'] ) && $socials['google'] ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $socials['instagram'] ) && $socials['instagram'] ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $socials['linkedIn'] ) && $socials['linkedIn'] ) : ?>
|
<?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; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -20,7 +20,7 @@ $property = opalesetate_property( get_the_ID() );
|
|||||||
<div class="property-address">
|
<div class="property-address">
|
||||||
<?php if ( $property->latitude && $property->longitude ) : ?>
|
<?php if ( $property->latitude && $property->longitude ) : ?>
|
||||||
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
|
<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>
|
</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ $property = opalesetate_property( get_the_ID() );
|
|||||||
<div class="property-address">
|
<div class="property-address">
|
||||||
<?php if ( $property->latitude && $property->longitude ) : ?>
|
<?php if ( $property->latitude && $property->longitude ) : ?>
|
||||||
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
|
<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>
|
</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ $property = opalesetate_property( get_the_ID() );
|
|||||||
<div class="property-address">
|
<div class="property-address">
|
||||||
<?php if ( $property->latitude && $property->longitude ) : ?>
|
<?php if ( $property->latitude && $property->longitude ) : ?>
|
||||||
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
|
<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>
|
</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ $property = opalesetate_property( get_the_ID() );
|
|||||||
<div class="property-address">
|
<div class="property-address">
|
||||||
<?php if ( $property->latitude && $property->longitude ) : ?>
|
<?php if ( $property->latitude && $property->longitude ) : ?>
|
||||||
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
|
<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>
|
</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ global $property, $post;
|
|||||||
<div class="property-address">
|
<div class="property-address">
|
||||||
<?php if( $property->latitude && $property->longitude ) : ?>
|
<?php if( $property->latitude && $property->longitude ) : ?>
|
||||||
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
|
<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>
|
</a>
|
||||||
<?php endif ; ?>
|
<?php endif ; ?>
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ $id = time();
|
|||||||
<div class="agency-google-map-content">
|
<div class="agency-google-map-content">
|
||||||
<?php if ( $address ): ?>
|
<?php if ( $address ): ?>
|
||||||
<p>
|
<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
|
<?php
|
||||||
$terms = wp_get_post_terms( get_the_ID(), 'opalestate_agency_location' );
|
$terms = wp_get_post_terms( get_the_ID(), 'opalestate_agency_location' );
|
||||||
if ( $terms && ! is_wp_error( $terms ) ) {
|
if ( $terms && ! is_wp_error( $terms ) ) {
|
||||||
|
@ -80,7 +80,7 @@ $id = time();
|
|||||||
<div class="agent-google-map-content">
|
<div class="agent-google-map-content">
|
||||||
<?php if ( $address ): ?>
|
<?php if ( $address ): ?>
|
||||||
<p>
|
<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
|
<?php
|
||||||
$terms = wp_get_post_terms( get_the_ID(), 'opalestate_agent_location' );
|
$terms = wp_get_post_terms( get_the_ID(), 'opalestate_agent_location' );
|
||||||
if ( $terms && ! is_wp_error( $terms ) ) {
|
if ( $terms && ! is_wp_error( $terms ) ) {
|
||||||
|
@ -23,7 +23,7 @@ $property = opalesetate_property( $property_id );
|
|||||||
<div class="pull-left">
|
<div class="pull-left">
|
||||||
<?php if ( $property->latitude && $property->longitude ) : ?>
|
<?php if ( $property->latitude && $property->longitude ) : ?>
|
||||||
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
|
<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>
|
</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ $header = apply_filters( 'opalestate_single_show_heading', true );
|
|||||||
<div class="property-address clearfix">
|
<div class="property-address clearfix">
|
||||||
<?php if ( $property->latitude && $property->longitude ) : ?>
|
<?php if ( $property->latitude && $property->longitude ) : ?>
|
||||||
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
|
<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>
|
</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ $header = apply_filters( 'opalestate_single_show_heading', true );
|
|||||||
<div class="property-address clearfix">
|
<div class="property-address clearfix">
|
||||||
<?php if ( $property->latitude && $property->longitude ) : ?>
|
<?php if ( $property->latitude && $property->longitude ) : ?>
|
||||||
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
|
<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>
|
</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ $header = apply_filters( 'opalestate_single_show_heading', true );
|
|||||||
<div class="property-address clearfix">
|
<div class="property-address clearfix">
|
||||||
<?php if ( $property->latitude && $property->longitude ) : ?>
|
<?php if ( $property->latitude && $property->longitude ) : ?>
|
||||||
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
|
<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>
|
</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ $header = apply_filters( 'opalestate_single_show_heading', true );
|
|||||||
<div class="property-address clearfix">
|
<div class="property-address clearfix">
|
||||||
<?php if ( $property->latitude && $property->longitude ) : ?>
|
<?php if ( $property->latitude && $property->longitude ) : ?>
|
||||||
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
|
<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>
|
</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ $header = apply_filters( 'opalestate_single_show_heading', true );
|
|||||||
<div class="property-address clearfix">
|
<div class="property-address clearfix">
|
||||||
<?php if ( $property->latitude && $property->longitude ) : ?>
|
<?php if ( $property->latitude && $property->longitude ) : ?>
|
||||||
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
|
<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>
|
</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ if ( $agent_id ) {
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ( $agent->get_trusted() ): ?>
|
<?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' ); ?>">
|
<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>
|
</span>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
@ -119,27 +119,27 @@ if ( $agent_id ) {
|
|||||||
|
|
||||||
<div class="opalestate-social-icons">
|
<div class="opalestate-social-icons">
|
||||||
<?php if ( $facebook && $facebook != "#" && ! empty( $facebook ) ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( $twitter && $twitter != "#" && ! empty( $twitter ) ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( $pinterest && $pinterest != "#" && ! empty( $pinterest ) ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( $google && $google != "#" && ! empty( $google ) ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( $instagram && $instagram != "#" && ! empty( $instagram ) ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( $linkedIn && $linkedIn != "#" && ! empty( $linkedIn ) ) : ?>
|
<?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; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /.agent-box-content -->
|
</div><!-- /.agent-box-content -->
|
||||||
|
@ -28,8 +28,8 @@ $template_style = isset( $args['style'] ) && $args['style'] ? sanitize_text_fiel
|
|||||||
|
|
||||||
<?php if ( absint( $query->post_count ) > absint( $item ) ) : ?>
|
<?php if ( absint( $query->post_count ) > absint( $item ) ) : ?>
|
||||||
<div class="swiper-pagination"></div>
|
<div class="swiper-pagination"></div>
|
||||||
<div class="swiper-button-prev"></div>
|
<div class="swiper-button-prev"> <i class="fas fa-angle-left"></i></div>
|
||||||
<div class="swiper-button-next"></div>
|
<div class="swiper-button-next"> <i class="fas fa-angle-right"></i></div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
@ -18,7 +18,8 @@ if ( empty( $meta_content ) ) {
|
|||||||
<?php foreach ( $meta as $key => $info ) : ?>
|
<?php foreach ( $meta as $key => $info ) : ?>
|
||||||
<?php if ( trim( $info['value'] ) ) : ?>
|
<?php if ( trim( $info['value'] ) ) : ?>
|
||||||
<li class="property-label-<?php echo esc_attr( $key ); ?>" title="<?php echo esc_attr( $info['label'] ); ?>">
|
<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-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>
|
<span class="label-content"><?php echo apply_filters( 'opalestate-pro' . $key . '_unit_format', trim( $info['value'] ) ); ?></span>
|
||||||
</li>
|
</li>
|
||||||
|
@ -28,7 +28,7 @@ $address = $agency->get_meta( 'address' ); ?>
|
|||||||
|
|
||||||
<?php if ( $agency->get_trusted() ): ?>
|
<?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' ); ?>">
|
<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>
|
</span>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</header>
|
</header>
|
||||||
@ -134,24 +134,24 @@ $address = $agency->get_meta( 'address' ); ?>
|
|||||||
|
|
||||||
<div class="opalestate-social-icons">
|
<div class="opalestate-social-icons">
|
||||||
<?php if ( $facebook && $facebook != "#" && ! empty( $facebook ) ) { ?>
|
<?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 } ?>
|
||||||
<?php if ( $twitter && $twitter != "#" && ! empty( $twitter ) ) { ?>
|
<?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 } ?>
|
||||||
<?php if ( $pinterest && $pinterest != "#" && ! empty( $pinterest ) ) { ?>
|
<?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 } ?>
|
||||||
<?php if ( $google && $google != "#" && ! empty( $google ) ) { ?>
|
<?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 } ?>
|
||||||
|
|
||||||
<?php if ( $instagram && $instagram != "#" && ! empty( $instagram ) ) { ?>
|
<?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 } ?>
|
||||||
|
|
||||||
<?php if ( $linkedIn && $linkedIn != "#" && ! empty( $linkedIn ) ) { ?>
|
<?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 } ?>
|
<?php } ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -23,7 +23,7 @@ $agent = new OpalEstate_Agent();
|
|||||||
<?php if ( $agent->get_trusted() ): ?>
|
<?php if ( $agent->get_trusted() ): ?>
|
||||||
<span class="trusted-label hint--top" aria-label="<?php esc_html_e( 'Trusted Member', 'opalestate-pro' ); ?>"
|
<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' ); ?>">
|
title="<?php esc_html_e( 'Trusted Member', 'opalestate-pro' ); ?>">
|
||||||
<i class="fa fa-star"></i>
|
<i class="fas fa-star"></i>
|
||||||
</span>
|
</span>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div><!-- /.agent-box-image -->
|
</div><!-- /.agent-box-image -->
|
||||||
@ -89,27 +89,31 @@ $agent = new OpalEstate_Agent();
|
|||||||
<?php if ( $socials ) : ?>
|
<?php if ( $socials ) : ?>
|
||||||
<div class="opalestate-social-icons">
|
<div class="opalestate-social-icons">
|
||||||
<?php if ( isset( $socials['facebook'] ) && $socials['facebook'] ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $socials['twitter'] ) && $socials['twitter'] ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $socials['pinterest'] ) && $socials['pinterest'] ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $socials['google'] ) && $socials['google'] ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $socials['instagram'] ) && $socials['instagram'] ) : ?>
|
<?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 endif; ?>
|
||||||
|
|
||||||
<?php if ( isset( $socials['linkedIn'] ) && $socials['linkedIn'] ) : ?>
|
<?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; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -23,12 +23,13 @@ if ( ! $infos && ! $taxs ) {
|
|||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ( $infos ): ?>
|
<?php if ( $infos ): ?>
|
||||||
<?php foreach ( $infos as $key => $info ) : ?>
|
<?php foreach ( $infos as $key => $info ) : ?>
|
||||||
<?php if ( $info['value'] ) : ?>
|
<?php if ( $info['value'] ) : ?>
|
||||||
<li class="wp-col-md-6 ">
|
<li class="wp-col-md-6 ">
|
||||||
<div class="property-label-<?php echo esc_attr( $key ); ?>">
|
<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>
|
<span><?php echo apply_filters( 'opalestate_' . $key . '_unit_format', trim( $info['value'] ) ); ?></span>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
@ -26,7 +26,7 @@ $meta = $property->get_meta_shortinfo();
|
|||||||
<?php if ( $meta ) : ?>
|
<?php if ( $meta ) : ?>
|
||||||
<?php foreach ( $meta as $key => $info ) : ?>
|
<?php foreach ( $meta as $key => $info ) : ?>
|
||||||
<li class="property-label-<?php echo esc_attr( $key ); ?>">
|
<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>
|
<?php echo apply_filters( 'opalestate-pro' . $key . '_unit_format', trim( $info['value'] ) ); ?></span>
|
||||||
</li>
|
</li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
@ -68,8 +68,8 @@
|
|||||||
$count_galleries = $count_galleries + count( $galleries );
|
$count_galleries = $count_galleries + count( $galleries );
|
||||||
?>
|
?>
|
||||||
<?php if ( $count_galleries > $columns ) : ?>
|
<?php if ( $count_galleries > $columns ) : ?>
|
||||||
<div class="swiper-button-prev"></div>
|
<div class="swiper-button-prev"> <i class="fas fa-angle-left"></i></div>
|
||||||
<div class="swiper-button-next"></div>
|
<div class="swiper-button-next"> <i class="fas fa-angle-right"></i></div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<div class="swiper-wrapper">
|
<div class="swiper-wrapper">
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
<?php if ( $property->latitude && $property->longitude ) : ?>
|
<?php if ( $property->latitude && $property->longitude ) : ?>
|
||||||
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
|
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
|
||||||
<span class="property-view-map">
|
<span class="property-view-map">
|
||||||
<i class="fa fa-map-marker"></i>
|
<i class="fas fa-map-marker-alt"></i>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<div class="pull-left">
|
<div class="pull-left">
|
||||||
<?php if ( $property->latitude && $property->longitude ) : ?>
|
<?php if ( $property->latitude && $property->longitude ) : ?>
|
||||||
<a href="<?php echo esc_url( $property->get_google_map_link() ); ?>" rel="nofollow" target="_blank">
|
<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>
|
</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php echo esc_html( $property->get_address() ); ?>
|
<?php echo esc_html( $property->get_address() ); ?>
|
||||||
|
@ -26,28 +26,28 @@ $args = array( 'position' => 'top', 'animation' => 'true' );
|
|||||||
<?php if((bool)opalestate_options('facebook_share_blog',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[url]=<?php the_permalink(); ?>&p[title]=<?php the_title(); ?>" target="_blank" title="<?php esc_html_e('Share on facebook', 'opalestate-pro'); ?>">
|
<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[url]=<?php the_permalink(); ?>&p[title]=<?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>
|
</a>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if((bool)opalestate_options('twitter_share_blog',true)): ?>
|
<?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'); ?>">
|
<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>
|
</a>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if((bool)opalestate_options('linkedin_share_blog',true)): ?>
|
<?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&url=<?php the_permalink(); ?>&title=<?php the_title(); ?>" target="_blank" title="<?php esc_html_e('Share on LinkedIn', 'opalestate-pro'); ?>">
|
<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&url=<?php the_permalink(); ?>&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>
|
</a>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if((bool)opalestate_options('tumblr_share_blog',true)): ?>
|
<?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()); ?>&name=<?php echo urlencode($post->post_title); ?>&description=<?php echo urlencode(get_the_excerpt()); ?>" target="_blank" title="<?php esc_html_e('Share on Tumblr', 'opalestate-pro'); ?>">
|
<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()); ?>&name=<?php echo urlencode($post->post_title); ?>&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>
|
</a>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?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,
|
<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'); ?>">
|
'', '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>
|
</a>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?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'); ?>
|
<?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()); ?>&description=<?php echo urlencode($post->post_title); ?>&media=<?php echo urlencode($full_image[0]); ?>" target="_blank" title="<?php esc_html_e('Share on Pinterest', 'opalestate-pro'); ?>">
|
<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()); ?>&description=<?php echo urlencode($post->post_title); ?>&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>
|
</a>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -11,7 +11,7 @@ if ( empty( $meta_content ) ) {
|
|||||||
<?php if ( trim( $info['value'] ) ) : ?>
|
<?php if ( trim( $info['value'] ) ) : ?>
|
||||||
<li class="property-label-<?php echo esc_attr( $key ); ?>">
|
<li class="property-label-<?php echo esc_attr( $key ); ?>">
|
||||||
<div class="icon-box">
|
<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>
|
||||||
<div class="info-meta">
|
<div class="info-meta">
|
||||||
<span class="label-content">
|
<span class="label-content">
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
<?php if( $trusted ): ?>
|
<?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'); ?>">
|
<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>
|
</span>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
@ -96,24 +96,24 @@
|
|||||||
?>
|
?>
|
||||||
<div class="opalestate-social-icons">
|
<div class="opalestate-social-icons">
|
||||||
<?php if( $facebook && $facebook != "#" && !empty($facebook) ){ ?>
|
<?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 } ?>
|
||||||
<?php if( $twitter && $twitter != "#" && !empty($twitter) ){ ?>
|
<?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 } ?>
|
||||||
<?php if( $pinterest && $pinterest != "#" && !empty($pinterest)){ ?>
|
<?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 } ?>
|
||||||
<?php if( $google && $google != "#" && !empty($google) ){ ?>
|
<?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 } ?>
|
||||||
|
|
||||||
<?php if( $instagram && $instagram != "#" && !empty($instagram) ){ ?>
|
<?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 } ?>
|
||||||
|
|
||||||
<?php if( $linkedIn && $linkedIn != "#" && !empty($linkedIn) ){ ?>
|
<?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 } ?>
|
<?php } ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
<?php if ( $trusted ): ?>
|
<?php if ( $trusted ): ?>
|
||||||
<span class="trusted-label hint--top" aria-label="<?php esc_html_e( 'Trusted Member', 'opalestate-pro' ); ?>"
|
<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' ); ?>">
|
title="<?php esc_html_e( 'Trusted Member', 'opalestate-pro' ); ?>">
|
||||||
<i class="fa fa-star"></i>
|
<i class="fas fa-star"></i>
|
||||||
</span>
|
</span>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
@ -64,7 +64,7 @@
|
|||||||
<?php $phone = get_user_meta( $user_id, $prefix . 'phone', true ); ?>
|
<?php $phone = get_user_meta( $user_id, $prefix . 'phone', true ); ?>
|
||||||
<?php if ( ! empty( $phone ) ) : ?>
|
<?php if ( ! empty( $phone ) ) : ?>
|
||||||
<div class="agent-box-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 -->
|
</div><!-- /.agent-box-phone -->
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div><!-- /.agent-box-content -->
|
</div><!-- /.agent-box-content -->
|
||||||
@ -83,24 +83,24 @@
|
|||||||
|
|
||||||
<div class="opalestate-social-icons text-center">
|
<div class="opalestate-social-icons text-center">
|
||||||
<?php if ( $facebook && $facebook != "#" && ! empty( $facebook ) ) { ?>
|
<?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 } ?>
|
||||||
<?php if ( $twitter && $twitter != "#" && ! empty( $twitter ) ) { ?>
|
<?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 } ?>
|
||||||
<?php if ( $pinterest && $pinterest != "#" && ! empty( $pinterest ) ) { ?>
|
<?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 } ?>
|
||||||
<?php if ( $google && $google != "#" && ! empty( $google ) ) { ?>
|
<?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 } ?>
|
||||||
|
|
||||||
<?php if ( $instagram && $instagram != "#" && ! empty( $instagram ) ) { ?>
|
<?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 } ?>
|
||||||
|
|
||||||
<?php if ( $linkedIn && $linkedIn != "#" && ! empty( $linkedIn ) ) { ?>
|
<?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 } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@
|
|||||||
<?php if ( $trusted ): ?>
|
<?php if ( $trusted ): ?>
|
||||||
<span class="trusted-label hint--top" aria-label="<?php esc_html_e( 'Trusted Member', 'opalestate-pro' ); ?>"
|
<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' ); ?>">
|
title="<?php esc_html_e( 'Trusted Member', 'opalestate-pro' ); ?>">
|
||||||
<i class="fa fa-star"></i>
|
<i class="fas fa-star"></i>
|
||||||
</span>
|
</span>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
@ -124,24 +124,24 @@
|
|||||||
|
|
||||||
<div class="opalestate-social-icons">
|
<div class="opalestate-social-icons">
|
||||||
<?php if ( $facebook && $facebook != "#" && ! empty( $facebook ) ) { ?>
|
<?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 } ?>
|
||||||
<?php if ( $twitter && $twitter != "#" && ! empty( $twitter ) ) { ?>
|
<?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 } ?>
|
||||||
<?php if ( $pinterest && $pinterest != "#" && ! empty( $pinterest ) ) { ?>
|
<?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 } ?>
|
||||||
<?php if ( $google && $google != "#" && ! empty( $google ) ) { ?>
|
<?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 } ?>
|
||||||
|
|
||||||
<?php if ( $instagram && $instagram != "#" && ! empty( $instagram ) ) { ?>
|
<?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 } ?>
|
||||||
|
|
||||||
<?php if ( $linkedIn && $linkedIn != "#" && ! empty( $linkedIn ) ) { ?>
|
<?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 } ?>
|
<?php } ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -59,7 +59,7 @@ $meta = $property->get_meta_shortinfo();
|
|||||||
<?php if ( $meta ) : ?>
|
<?php if ( $meta ) : ?>
|
||||||
<?php foreach ( $meta as $key => $info ) : ?>
|
<?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'] ); ?>">
|
<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-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>
|
<span class="label-content"><?php echo apply_filters( 'opalestate-pro' . $key . '_unit_format', trim( $info['value'] ) ); ?></span>
|
||||||
</li>
|
</li>
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
if( $existed != false || $existed != '' ) {
|
if( $existed != false || $existed != '' ) {
|
||||||
$fav_class = 'fa fa-heart';
|
$fav_class = 'fas fa-heart';
|
||||||
} else {
|
} else {
|
||||||
$fav_class = 'fa fa-heart-o';
|
$fav_class = 'far fa-heart';
|
||||||
}
|
}
|
||||||
$need_login = '';
|
$need_login = '';
|
||||||
if( !is_user_logged_in() ){
|
if( !is_user_logged_in() ){
|
||||||
|
@ -75,10 +75,10 @@ $types = OpalEstate_User::get_user_types();
|
|||||||
</p>
|
</p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<?php $terms_page = get_permalink( opalestate_get_option( 'user_terms_page', '/' ) ); ?>
|
||||||
<p class="opalestate-form-field i-agree validate-required">
|
<p class="opalestate-form-field i-agree validate-required">
|
||||||
<label><?php esc_html_e( 'I agree with', 'opalestate-pro' ); ?> <span class="required">*</span></label>
|
<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"/>
|
<input type="checkbox" name="confirmed_register" id="confirmed_register" required="required" class="comfirmed-box"/>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@ -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">
|
<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>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user