<?php
/**
 * Template Name: Gallery Grid Right Sidebar
 * The main template file for display gallery page.
 *
 * @package WordPress
*/


get_header(); 




?>
   <section class="gallery pos-rel z-1 gradient-bg pt-130 radius-top-20 mt-30">
            <div class="container-fluid">
                <div class="row justify-content-center">
				
                    <div class="col-xl-9 col-lg-12">
                        <div class="about-content text-center">
                            <div class="sec-title">
                                
                            </div>
                            
                        </div>
                    </div>
                </div>
            </div>
            <div class="gallery-inner ul_li mt-55">
			
			<?php

$key = 0;

if (have_posts()) : while (have_posts()) : the_post();
	
	
	
	$categories = get_the_terms( get_the_ID() , 'gallery_category' );
	

	
	$image_thumb = '';
								
	if(has_post_thumbnail(get_the_ID(), 'full'))
	{
	    $image_id = get_post_thumbnail_id(get_the_ID());
	    $image_thumb = wp_get_attachment_image_src($image_id, 'swap-gallery', true);
	}
?>
  
					 		
                  <div class="gallery-item wow fadeIn " data-cursor="-opaque" data-wow-delay="0ms" data-wow-duration="400ms">
				                          
							
                    <img src="<?php echo $image_thumb[0]; ?>" alt="<?php echo get_bloginfo('name'); ?>">
					
 
                </div>

                <?php $key++;  endwhile; endif; ?>
              
				 	 </div>
        </section>
			<?php get_footer(); ?>