| Server IP : 207.135.97.11 / Your IP : 172.19.0.1 Web Server : LiteSpeed System : Linux 6d372a2d2e33 5.14.0-611.24.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 23 11:42:43 UTC 2026 x86_64 User : nobody ( 65534) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/ed.net.au/wp-content/themes/evoke-dialogue/ |
Upload File : |
<?php
/**
* Single post template.
*/
if (!defined('ABSPATH')) {
exit;
}
get_header();
?>
<div class="ed-wrap">
<?php while (have_posts()) : the_post(); ?>
<?php
$post_type = get_post_type();
$labels = array(
'post' => 'Insights',
'project' => 'Case Outcome',
'service' => 'Service',
'member' => 'Team Member',
'client' => 'Client',
'testimonial' => 'Testimonial',
);
$eyebrow = isset($labels[$post_type]) ? $labels[$post_type] : 'Evoke Dialogue';
?>
<header class="ed-page-hero">
<span class="ed-eyebrow"><?php echo esc_html($eyebrow); ?></span>
<h1><?php the_title(); ?></h1>
<?php if ($post_type === 'post') : ?>
<p class="ed-page-intro"><?php echo esc_html(get_the_date('j F Y')); ?><?php if (get_the_author()) : ?> by <?php the_author(); ?><?php endif; ?></p>
<?php endif; ?>
</header>
<section class="ed-content">
<article class="ed-section">
<?php
$image_markup = evoke_dialogue_post_card_image(get_the_ID(), 'large');
if (!empty($image_markup)) :
?>
<div class="ed-card-media"><?php echo wp_kses_post($image_markup); ?></div>
<?php endif; ?>
<?php the_content(); ?>
</article>
</section>
<?php endwhile; ?>
</div>
<?php
get_footer();