Exemple #1
0
    echo '<ul class="list-unstyled row">';
    foreach ($property_attachments as $attachment_id) {
        $attachment_url = wp_get_attachment_url($attachment_id);
        $attachment_file_type = wp_check_filetype($attachment_url);
        $attachment_file_type = $attachment_file_type['ext'];
        $output = '<li class="col-sm-4 col-md-3">';
        $output .= tt_icon_attachment($attachment_file_type) . ' <a href="' . $attachment_url . '" target="_blank">' . get_the_title($attachment_id) . '</a>';
        $output .= '</li>';
        echo $output;
    }
    echo '</ul>';
    echo '</section>';
}
// Property Social Sharing
if ($social_sharing) {
    echo '<div class="primary-tooltips">' . tt_social_sharing() . '</div>';
}
?>
		
	</div><!-- #main-container -->
	
	<?php 
if ($show_agent_information || $show_property_contact_form) {
    ?>
	<div id="agent" class="content-box">
			<?php 
    // Property Settings: If Agent Selected, Show His/Her Details, Instead Of Post Auhor
    if ($agent) {
        if ($property_title_agent) {
            echo '<h3 class="section-title"><span>' . __($property_title_agent, 'tt') . '</span></h3>';
        }
Exemple #2
0
    function tt_post_content_navigation()
    {
        ?>
			
		<div class="entry-content">
			<?php 
        the_content(__('Continue reading ..', 'tt'));
        wp_link_pages(array('before' => '<div class="page-links"><span class="page-links-title">' . __('Pages:', 'tt') . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>'));
        tt_social_sharing();
        ?>
		</div><!-- .entry-content -->
		
		<?php 
    }