HEX
Server: Apache
System: Linux srv-plesk28.ps.kz 5.14.0-284.18.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 29 17:06:27 EDT 2023 x86_64
User: greencl1 (10085)
PHP: 8.1.33
Disabled: apache_setenv,dl,eval,exec,openlog,passthru,pcntl_exec,pcntl_fork,popen,posix_getpwuid,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,socket_create,socket_create_listen,socket_create_pair,syslog,system,socket_listen,stream_socket_server
Upload Files
File: /var/www/vhosts/greenclinic.kz/httpdocs/wp-content/themes/GreenClinic/archive-doctor.php
<?php get_header(); ?>

<div class="page__banner--bread">
  <div class="bread-line">
    <div class="container">
      <?php if( function_exists('dimox_breadcrumbs') ) dimox_breadcrumbs(); ?>
    </div>
  </div>
</div>
<style>
  .tabheader__items {
    overflow-y: scroll;
    height: 850px;
    direction: rtl; 
}
body {

    background: url(/wp-content/themes/GreenClinic/images/Rectmin.png)!important;
    background-size: 100%;
}
.tabheader__items{
  padding-left:30px;
}
.tabheader__item{
  padding-left:0;
}
.tabheader__item_active {
    background: #fff;
} 
.tabheader__items::-webkit-scrollbar-track {
    background-color: rgba(219, 219, 219, 0.2);
    border-radius: 10px;
}
</style>

<section class="section__margin" style="margin-bottom:50px">
  <div class="container">
    <div class="section__title">
        <h3 class="service__title title">Специалисты</h3>
    </div>

    <div class="team-right__inner">
                                <div class="tabheader">
                                    <div class="tabheader__items">
                                    <?php 
                                    $media_news = new WP_Query( array(
                                    'orderby' => 'date', // тип сортировки (в данном случае по дате)
                                    'post_type' => 'doctor',
                                    'posts_per_page' => '2000'
                                    ));
                                    ?> 
                             
                                    <?php while ( $media_news->have_posts() ) { $media_news->the_post(); ?> 
                                    <div class="tabheader__item">
                                    <?php get_template_part( 'components/component', 'doctor2' ); ?>
                                    </div>

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

                                <div class="tabcontent-wrap">
                                  
                                <div class="tabcontent-wrap">
                                <?php while ( $media_news->have_posts() ) { $media_news->the_post(); ?> 
                                    <?php get_template_part( 'components/component', 'doctor3' ); ?>
                                    <?php } ?>

                                </div>
                                </div>
                            </div>
  </div>
</section>





<?php get_footer(); ?>