while (have_posts()) {
        the_post();
        ?>

		<div class="ca-desc">
			<h1 class="ca-desc__title"><?php 
        the_title();
        ?>
</h1>

			<div class="ca-desc__content">
				<?php 
        the_content();
        ?>
			</div>
		</div>

		<?php 
        vca_get_template_part('list/content-search');
        ?>
		<?php 
        vca_get_template_part('list/content-masonry');
        ?>

	<?php 
    }
}
?>

<?php 
do_action('ca_content/after');
        vca_get_template_part('single/content-gallery');
        ?>
			</div>
			<!-- .masonry -->

		</div>

		<?php 
        vca_comments_template();
        ?>

		<?php 
        /**
         * Markup for JavaScript features
         */
        vca_get_template_part('single/js-markup');
        ?>


		<?php 
        do_action('ca_content/after');
        ?>

	<?php 
    }
    ?>


<?php 
}
?>
<?php

vca_get_template_part('single/layout');
                if (isset($image_name)) {
                    echo " ca-image__id--as-tag";
                }
                ?>
">#<?php 
                echo $image['id'];
                ?>
</div>
						<?php 
            }
            ?>
					</div>
				<?php 
        }
        ?>

				<?php 
        if ($enable_favorites) {
            vca_get_template_part('single/image-actions');
        }
        ?>

			</div>
		<?php 
    }
    ?>

	</div>

<?php 
}
 public static function password_form_template_loader()
 {
     ob_start();
     vca_get_template_part('protected/protected-form');
     return ob_get_clean();
 }
<?php

$query = new WP_Query(array('post_type' => 'client_gallery', 'posts_per_page' => -1));
get_header('client-area');
set_query_var('village_query', $query);
vca_get_template_part('list/layout');
wp_reset_query();
get_footer('client-area');
?>

 function ca_wrap_content_end()
 {
     vca_get_template_part('global/wrapper-end');
 }