<?php foreach ($posts as $post) { ?> <div class="search__result-wrapper"> <a href="<?php echo get_permalink($post->ID); ?> "> <h4><?php echo $post->post_title; ?> </h4> <p> <?php echo generate_excerpt(wp_strip_all_tags($post->post_content), "...", 500); ?> </p> </a> </div> <?php } ?> <?php } ?> </div> <?php echo \Vividcrestrealestate\Core\Template::renderPart("aside");
echo $recent_property->bedrooms; ?> beds </li> <li><?php echo $recent_property->bathrooms; ?> baths</li> <li><?php echo !empty($recent_property->size) ? $recent_property->size : "N/A"; ?> sq.ft.</li> </ul> <p> <?php echo generate_excerpt($recent_property->description, "...", 100); ?> </p> </a> </div> </div> <?php } ?> </div> <div class="layout__col layout__col--wide"> <div class="title__border-bottom"> <h1>Futured Properties</h1> </div>
?> <li>N/A sq.ft.</li> <?php } ?> </ul> <p class="property__description-city"> <strong><?php echo $property->address; ?> </strong> </p> <p> <?php echo generate_excerpt($property->description, "", 100); ?> </p> </a> </div> </div> <?php } ?> </div> </div> <!-- Bottom Pagination --> <?php echo \Vividcrestrealestate\Core\Template::renderPart("pagination", ['pagination' => $pagination]); ?>
"> <ul> <li><?php echo $similar_property->bedrooms; ?> beds </li> <li><?php echo $similar_property->bathrooms; ?> baths</li> <li><?php echo $similar_property->size; ?> sq.ft.</li> </ul> <p> <?php echo generate_excerpt($similar_property->description, "...", 100); ?> </p> </a> </div> </div> <?php } ?> </div> </div> </section>
function display_session($session, $show = 'title,speakers') { if (function_exists('conferencer_agenda_display_session')) { conferencer_agenda_display_session($session, $this->options); return; } extract($this->options); $output = ""; /*echo '<br><br>'; var_dump(" [session_meta post_id='{$session->ID}' show='".$show."' link_title=".($link_sessions ? 'true' : 'false')." link_speakers=".($link_speakers ? 'true' : 'false')." link_room=".($link_rooms ? 'true' : 'false')." colspan='".($session->colspan ? $session->colspan : 0)."' rowspan='".($session->rowspan ? $session->rowspan : 0)."' ] ");*/ $output .= do_shortcode("\n\t\t\t\t[session_meta\n\t\t\t\t\tpost_id='{$session->ID}'\n\t\t\t\t\tshow='" . $show . "'\n\t\t\t\t\tlink_title=" . ($link_sessions ? 'true' : 'false') . "\n\t\t\t\t\tlink_speakers=" . ($link_speakers ? 'true' : 'false') . "\n\t\t\t\t\tlink_room=" . ($link_rooms ? 'true' : 'false') . "\n\t\t\t\t\tcolspan='" . ($session->colspan ? $session->colspan : 0) . "'\n\t\t\t\t\trowspan='" . ($session->rowspan ? $session->rowspan : 0) . "'\n\t\t\t\t]\n\t\t\t"); if ($session_tooltips) { $output .= '<div class="session-tooltip">' . do_shortcode("\n\t\t\t\t\t\t[session_meta\n\t\t\t\t\t\t\tpost_id='{$session->ID}'\n\t\t\t\t\t\t\tshow='title,speakers,room'\n\t\t\t\t\t\t\tlink_all=false\n\t\t\t\t\t\t]\n\t\t\t\t\t"); $output .= '<p class="excerpt">' . generate_excerpt($session) . '</p>'; $output .= '<div class="arrow"></div><div class="inner-arrow"></div>'; $output .= '</div>'; } return $output; }