{/if}
)
</div>
- {if $event.locations.city.name !== ''}
+ {if $event.locations.city}
<div class="glm-agenda-city">City: {$event.locations.city.name}</div>
{/if}
{/if}
{/if}
</div>
<div class="event-contents clearfix">
- {if $event.locations.name !== ''}
+ {if $event.locations}
<div class="glm-agenda-city">Location: {$event.locations.name}</div>
{/if}
{if $event.image}<img style="float:right;" src="{$imgUrl}{$event.image}">{/if}
<?php get_template_part('inc/hero','header-search'); ?>
<div class="body-content row column">
-
<div class="medium-8 large-9 columns">
<section id="primary" class="content-area row">
<main id="main" class="site-main columns small-12" role="main">
<?php if ( have_posts() && strlen( trim(get_search_query()) ) != 0 ) : ?>
<header class="page-header">
- <h1 class="page-title">Search results for: <?php printf( esc_html__( '%s', 'wmta' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
+ <h1 class="page-title">Search Results for: <?php printf( esc_html__( '%s', 'wmta' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
</header><!-- .page-heade-->
<?php display_memberfindme_directory() ?>