| Server IP : 78.24.162.143 / Your IP : 216.73.217.78 Web Server : Apache System : Linux hosting.cormo.systems 5.15.0-179-generic #189-Ubuntu SMP Tue May 5 18:20:56 UTC 2026 x86_64 User : web63 ( 5058) PHP Version : 7.4.33 Disable Function : create_functions,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/clients/client34/web63/web/wp-content/themes/auto4you/ |
Upload File : |
<?php get_header(); ?>
<div id="carousel" class="carousel slide carousel-fade" data-ride="carousel" data-interval="3000">
<ol class="carousel-indicators">
<?php foreach(get_posts(array('post_type'=>'slide','orderby'=>'menu_order','order'=>'asc')) as $i =>$post): setup_postdata($post); ?>
<li data-target="#carousel" data-slide-to="<?php echo $i ?>" <?php echo $i ? '' : 'class="active"' ?>></li>
<?php endforeach; wp_reset_query(); ?>
</ol>
<div class="carousel-inner">
<?php foreach(get_posts(array('post_type'=>'slide','orderby'=>'menu_order','order'=>'asc')) as $i =>$post): setup_postdata($post); ?>
<div class="carousel-item <?php echo $i ? '' : 'active' ?>" style="background-image: url(<?php echo get_the_post_thumbnail_url($post, 'fullhd') ?>);">
<div class="carousel-caption pb-5 mb-5">
<div class="h1"><?php the_title() ?></div>
<div class="h2 pb-5 mb-5"><?php echo get_the_excerpt() ?></div>
</div>
</div>
<?php endforeach; wp_reset_query(); ?>
</div>
<a class="carousel-control-prev" href="#carousel" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Poprzednia</span>
</a>
<a class="carousel-control-next" href="#carousel" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Następna</span>
</a>
</div>
<?php get_footer(); ?>