HEX
Server: Apache/2.4.57 (Debian)
System: Linux web-server-k8s-e92jnr3j-6f99bff6b6-rp2wg 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64
User: apache (48)
PHP: 7.4.33
Disabled: 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,
Upload Files
File: /var/www/sites/1250.info/wp-content/themes/blogus/inc/ansar/hooks/blocks/block-banner-list.php
<?php
$blogus_slider_category = blogus_get_option('select_slider_news_category');
$blogus_number_of_slides = blogus_get_option('number_of_slides');
$blogus_all_posts_main = blogus_get_posts($blogus_number_of_slides, $blogus_slider_category);
$blogus_count = 1;

if ($blogus_all_posts_main->have_posts()) :
    while ($blogus_all_posts_main->have_posts()) : $blogus_all_posts_main->the_post();

    global $post;
    $blogus_url = blogus_get_freatured_image_url($post->ID, 'blogus-slider-full');
        
$blogus_url = blogus_get_freatured_image_url($post->ID, 'blogus-slider-full');
$slider_meta_enable = get_theme_mod('slider_meta_enable','true');
$slider_overlay_enable = get_theme_mod('slider_overlay_enable','true');

  ?>
  <div class="swiper-slide">
            <div class="bs-slide back-img one <?php if ($slider_overlay_enable != false){ ?>overlay<?php } ?>" style="background-image: url('<?php echo esc_url($blogus_url); ?>');">
                <a class="link-div" href="<?php the_permalink(); ?>"> </a>
                <div class="inner">
                        <?php if($slider_meta_enable == true) { ?><?php blogus_post_categories(); ?><?php } ?>
                        <h4 class="title"> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
                        <?php if($slider_meta_enable == true) { blogus_post_meta(); } ?>
                </div>
            </div>
        </div>
         <?php 
    endwhile;
endif;
wp_reset_postdata();
?>