<?php get_header(); ?>
    <h1 class="pagetit text-center">
        <?php post_type_archive_title(); ?>
    </h1>
    <section class="content imgss-slider">
        <div class="container">
            <?php if (have_posts()) : ?>
                <div class="row">
                    <?php while (have_posts()) : the_post(); ?>
                        <div class="col-md-4">
                            <div class="slider-imgss">
                                <a href="<?php echo get_the_post_thumbnail_url(get_the_ID(), 'full'); ?>" data-fancybox="gallery">
    <?php the_post_thumbnail('full', ['class' => 'img-fluid']); ?>
</a>
                            </div>
                        </div>
                    <?php endwhile; ?>
                </div>
                <?php wp_pagenavi(); ?>
            <?php else : ?>
                <p>
                    <?php _e('عذرا ، يتم حاليا إضافة المحتوى', 'm7md') ?>
                </p>
            <?php endif; ?>
        </div>
    </section>

<?php get_footer(); ?>