?> <li class="map-pin"><?php include $template_svg_path . 'map-marker.svg'; echo esc_html($office_address); ?> </li><?php } ?> </ul> <?php if (!is_singular('agent')) { /* * Agent intro text and view profile button */ echo apply_filters('the_content', get_inspiry_custom_excerpt($agent_post->post_content)); ?> <a class="btn-default show-details" href="<?php echo esc_url($agent_permalink); ?> "><?php _e('View Profile', 'inspiry'); ?> <i class="fa fa-angle-right"></i></a> <?php } /* * Agent Contact Form */ $agent_email = $inspiry_agent->get_email(); if ($agent_email && $inspiry_options['inspiry_agent_contact_form']) {
<article class="hentry property-listing-home meta-item-half"> <div class="property-thumbnail"> <?php inspiry_thumbnail(); ?> </div> <!-- .property-thumbnail --> <div class="property-description"> <header class="entry-header"> <h4 class="entry-title"><a href="<?php the_permalink(); ?> " rel="bookmark"><?php echo get_inspiry_custom_excerpt(get_the_title(), 7); ?> </a></h4> <div class="price-and-status"> <span class="price"><?php echo esc_html($home_property->get_price_without_postfix()); ?> </span> <?php $first_status_term = $home_property->get_taxonomy_first_term('property-status', 'all'); if ($first_status_term) { ?> <a href="<?php echo esc_url(get_term_link($first_status_term)); ?> ">
<li class="map-pin"><?php include $template_svg_path . 'map-marker.svg'; echo esc_html($office_address); ?> </li><?php } ?> </ul> <?php if (!is_author()) { /* * Author intro text and view profile button */ $author_description = get_the_author_meta('description'); echo apply_filters('the_content', get_inspiry_custom_excerpt($author_description)); ?> <a class="btn-default show-details" href="<?php echo esc_url($author_page_url); ?> "><?php _e('View Profile', 'inspiry'); ?> <i class="fa fa-angle-right"></i></a> <?php } /* * Author contact form */ if ($author_email && $inspiry_options['inspiry_agent_contact_form']) { global $contact_form_email;