
<?php /* Template Name: services */ ?>


<?php get_header(); ?>

<div class="services  sec-padd" id="services">
    <div class="title">
        <h5>
            <?php if ( 'en' === $GLOBALS['q_config']['language']){ ?>      services  <?php } else { ?>  الخدمات  <?php } ?>
        </h5>
    </div>
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-md-10 padd-0">
                <div class="row">
                    <?php
                    $values = array( 'post_type' => 'services' , 'order' => 'ASC' );
                    $query = new wp_query($values);
                    if( $query -> have_posts() ) { while($query -> have_posts() ){ $query -> the_post(); ?>

                        <div class="col-md-6">
                            <div class="serv-box">
                                <img src="<?php  the_post_thumbnail_url() ?>">
                                <div>
                                    <h5> <?php  the_title(); ?></h5>
                                    <div class="p">
                                        <?php  the_content(); ?>
                                    </div>

                                    <a class="btn-site" href="<?php the_permalink() ?>">
                                        <?php if ( 'en' === $GLOBALS['q_config']['language']){ ?>      more <?php } else { ?> المزيد  <?php } ?>
                                    </a>
                                </div>



                            </div>
                        </div>
                    <?php   }} ?>



                </div>
            </div>

        </div>
    </div>


</div>
<?php get_footer(); ?>