<?php get_header(); ?>


<div class="main-content">
<div class="wrapper">



<div class="procedure2">
<div class="page-navigation">
                
<ul><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><li><a href="/" itemprop="url"><span itemprop="title">Салон красоты ФиФа</span></a></li></span> <span class="sep">›</span> <li>Акции</li></ul>
</div>


</div>



<div class="procedure">

<h1 class="page">Актуальные акции</h1>



<ul>


<!--  -->
<article>
<div class="akciya-wrapper">
<div class="akciya">
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>



<li>
<?php $image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full'); ?> 
<a data-fancybox="gallery" href="<?php echo $image_url[0]; ?>" class="fancybox" rel="fancybox">
<div class="akciya-img">
<img src="<?php echo $image_url[0]; ?>" alt="">
</div>
</a>

<div class="akciya-desc">
<h2 class="post-title"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>

<?php if ( has_post_thumbnail() ) :?>
<?php echo content(40); ?>
<?php else : ?>
<?php echo content(40); ?>
<?php endif; ?>



</div>
</li>




<?php endwhile; ?>
<?php endif; ?>
</div>
</div>
</article>
<br>




<!--  -->

</ul>







 
<?php wp_reset_postdata(); ?>
<div class="clear"></div>
<!-- Навигация -->
<div class="blog-centr">
<div class="navigation">
<?php if(function_exists('wp_paginate')) {
wp_paginate(); 
} ?></div></div>
<div class="clear"></div>
<!-- Навигация конец -->



<div class="clear"></div>

<!-- Put this script tag to the <head> of your page -->
<script type="text/javascript" src="//vk.com/js/api/openapi.js?146"></script>

<script type="text/javascript">
  VK.init({apiId: 6138183, onlyWidgets: true});
</script>

<!-- Put this div tag to the place, where the Comments block will be -->
<div id="vk_comments"></div>
<script type="text/javascript">
VK.Widgets.Comments("vk_comments", {limit: 10, attach: "*"});
</script>

<br><br>



</div>







</div>



</div>



<?php get_footer(); ?>