<article <?php post_class(array('story')); ?> > <a href="<?php the_permalink(); ?> "> <div class="story-wrap"> <?php the_post_thumbnail('fotographia-archive'); ?> </div> <div class="photo-wrap"> <?php wp_kses_post(fotographia_story_slideshow(get_the_ID())); ?> </div> <span class="article-header"> <?php if (!is_category()) { ?> <h5 class="category"><?php $cat = get_the_category(); echo esc_html($cat[0]->name); ?> </h5><?php } ?> <h3 class="title"><?php the_title();
<article <?php post_class(array('story')); ?> > <a href="<?php the_permalink(); ?> "> <div class="story-wrap"> <?php the_post_thumbnail('fotographia-home'); ?> </div> <div class="photo-wrap"> <?php fotographia_story_slideshow(get_the_ID()); ?> </div> <span class="title-area"> <h5 class="category"><?php $cat = get_the_category(); echo esc_html($cat[0]->name); ?> </h5> <h3 class="title"><?php the_title(); ?> </h3> </span> </a> </article>