<?php
/**
 * The template part for displaying image post
 *
 * @package VW Modern Kitchen 
 * @subpackage vw-modern-kitchen
 * @since vw-modern-kitchen 1.0
 */
?>

<article id="post-<?php the_ID(); ?>" <?php post_class('inner-service'); ?>>
    <div class="entry-content">
        <header>
            <h1><?php the_title();?></h1> 
        </header>
        <figure class="entry-attachment">
            <div class="attachment">
                <?php vw_modern_kitchen_the_attached_image(); ?>
            </div>

            <?php if ( has_excerpt() ) : ?>
                <figcaption class="entry-caption"><?php the_excerpt(); ?></figcaption>
            <?php endif; ?>
        </figure>
        <?php
            the_content();
            wp_link_pages( array(
                'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'vw-modern-kitchen' ),
                'after'  => '</div>',
            ) );
        ?>
    </div>
    <?php edit_post_link( esc_html__( 'Edit', 'vw-modern-kitchen' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>
    <div class="clearfix"></div>
</article>