<?php get_header(); ?>
    <h1 class="pagetit text-center">
        <?php post_type_archive_title(); ?>
    </h1>
    <section class="content  ">
        <div class="container">
            <?php if (have_posts()) : ?>
                <div class="row">
                    <?php while (have_posts()) : the_post(); ?>
                        <div class="col-md-3 col-6 mb-5 justify-content-center d-flex">
                            <div class="slislider-partners">
                                <?php the_post_thumbnail('full', ['class' => 'img-fluid']); ?>
                            </div>
                        </div>
                    <?php endwhile; ?>
                </div>
                <?php wp_pagenavi(); ?>
            <?php else : ?>
                <p>
                    <?php _e('عذرا ، يتم حاليا إضافة المحتوى', 'm7md') ?>
                </p>
            <?php endif; ?>
        </div>
    </section>

<?php get_footer(); ?>