the_permalink(); ?> "><?php echo esc_html($button_text); ?> <i class="fa fa-angle-right"></i></a> </div><!-- .title-and-meta --> <div class="property-description visible-lg"> <?php /* * Description */ $property_excerpt = get_inspiry_excerpt(12); if (!empty($property_excerpt)) { ?> <h4 class="title-heading"><?php echo esc_html($desc_title); ?> </h4> <p><?php echo esc_html($property_excerpt); ?> </p> <?php } ?> <div class="price-wrapper">
/* * Address */ $office_address = $inspiry_agent->get_office_address(); if (!empty($office_address)) { ?> <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_excerpt()); ?> <a class="btn-default show-details" href="<?php the_permalink(); ?> "><?php _e('View Profile', 'inspiry'); ?> <i class="fa fa-angle-right"></i></a><?php }
/** * Output excerpt for given number of words * @param int $len * @param string $trim */ function inspiry_excerpt($len = 15, $trim = "…") { echo get_inspiry_excerpt($len, $trim); }