
<?php get_header();?>



<div class="mainsingle-pages">
    <div class="container">
        <div class="row">
            <?php if (has_post_thumbnail()) { ?>
                <div class="col-lg-12 d-flex justify-content-center mb-5 wow fadeInUp">
                    <div class="singimg">
                        <?php
                        $thumbnail_id = get_post_thumbnail_id();
                        $title = get_the_title($thumbnail_id);
                        $alt = get_post_meta($thumbnail_id, '_wp_attachment_image_alt', true) ?: $title ;
                        ?>
                        <img src="<?php echo get_the_post_thumbnail_url(null, 'full'); ?>"
                             class="img-fluid"
                             alt="<?php echo esc_attr($alt); ?>"
                             title="<?php echo esc_attr($title); ?>" />
                    </div>
                </div>
            <?php } ?>
            <?php if(have_posts()) :  while(have_posts()) : the_post(); ?>
                <div class="col-lg-12 d-flex justify-content-center wow fadeInUp">
                    <div class="singcont">
                        <?php the_content(); ?>
                    </div>
                </div>
            <?php endwhile;  else :  endif;   ?>
        </div>
    </div>
</div>



<?php get_footer();?>