Example #1
0
function tool_breadcrumb_get_the_title($post_id = null)
{
    if (!empty($post_id)) {
        $post_id = get_the_ID();
    }
    if (function_exists("custom_display_title")) {
        return custom_display_title($post_id, false, false, '', '');
    } else {
        return get_the_title($post_id);
    }
}
}
?>
			
			<div class="has-mask">
				<?php 
if (function_exists("custom_display_title")) {
    custom_display_title(get_the_ID(), true, false, '<div class="title">', '</div>');
} else {
    the_title('<div class="title">', '</div>');
}
?>
			</div>
			<div class="has-infos">
				<?php 
if (function_exists("custom_display_title")) {
    custom_display_title(get_the_ID(), true, false, '<div class="title">', '</div>');
} else {
    the_title('<div class="title">', '</div>');
}
?>
			</div>
			<?php 
if (!$has_thumb && is_admin()) {
    ?>
<div class="no-content"><i class="fa fa-ban"></i></div><?php 
}
?>
		</div>
	<?php 
if (!is_admin()) {
    ?>
</div><?php 
        }
    }
    ?>
		<?php 
}
?>

		<h1 class="entry-title">
			<a href="<?php 
the_permalink();
?>
" rel="bookmark">
				<?php 
if (function_exists("custom_display_title")) {
    custom_display_title(get_the_ID(), true, false, '', '');
} else {
    the_title();
}
?>
			</a>
			<?php 
edit_post_link('<i class="fa fa-pencil-square-o"></i>', '<span>', '</span>');
?>
		</h1>
		
		<?php 
$date_s = "";
if (get_post_type() == 'event') {
    $meta_date_begin = get_post_meta(get_the_ID(), "meta_event_date_begin", true);
    $meta_date_begin_s = "";