<?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 class="excerpt"><?php the_excerpt(); ?> </div> </div> <div class="has-infos"> <?php if (function_exists("custom_display_thumbnail")) { custom_display_thumbnail(get_the_ID(), 'tool-wall-thumb', '', true, false, '<div class="thumb">', '</div>'); } else { if (has_post_thumbnail(get_the_ID())) { ?> <div class="thumb"><?php the_post_thumbnail('tool-wall-thumb'); ?> </div><?php } } ?> <?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>');
?> <article id="post-<?php the_ID(); ?> " <?php post_class('tool-event-widget-output-event'); ?> > <header class="entry-header"> <?php if (!post_password_required()) { ?> <?php if (function_exists("custom_display_thumbnail")) { custom_display_thumbnail(get_the_ID(), '', '', true, false); } else { if (has_post_thumbnail(get_the_ID())) { ?> <div class="entry-thumbnail"><?php the_post_thumbnail(); ?> </div><?php } } ?> <?php } ?> <h1 class="entry-title">