<?php get_header(); ?>

    <section class="content sec-padding clients-page">
        <div class="container">
            <h1 class="sec-tit text-center">
                <?php post_type_archive_title(); ?>
            </h1>
            <?php if (have_posts()) : ?>
                <div class="row">
                    <?php while (have_posts()) : the_post(); ?>
                        <div class="col-md-3 mb-4">
                            <div class="client-item">
                                <div class="client-logo">
                                    <?php the_post_thumbnail('large', ['class' => 'img-fluid']); ?>
                                </div>
                            </div>
                        </div>
                    <?php endwhile; ?>
                </div>
                <?php wp_pagenavi(); ?>

            <?php else : ?>
                <p>
                    <?php _e('معذرة , لا يوجد محتوى مضاف حاليا', 'm7md') ?>
                </p>
            <?php endif; ?>
        </div>
    </section>

<?php get_footer(); ?>