} if ($event_id > 0) { $dew_title = $rawEvent->title; $title = apply_filters('the_title', $dew_title); } else { $title = the_title('', '', false); } get_header(); ?> <?php echo dew_agenda_menu_shortcode_handler(); ?> <?php $event = new DEW_event($rawEvent); if ($event->hasPrimaryPicture()) { $eventPic = DEW_tools::getPicture($event->getPrimaryPicture(), 960, 400); ?> <div class="wrapper post_thumbnail"> <img src="<?php echo home_url(); ?> /wp-content/uploads<?php echo $eventPic['relative']; ?> " alt="" />'; <h1 class="article post_thumbnail"><?php echo $title; ?> </h1> </div> <?php