HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/budilia/budilia.nl/wwwroot/wp-content/themes/zeeStylePro/slideshow.php
<?php 
	// Get Query Arguments for Featured Posts Slider
	$options = get_option('themezee_options');
	$slider_limit = intval($options['themeZee_slider_limit']);
	$slider_content = ($options['themeZee_slider_content'] == 'recent') ? 'date' : 'comment_count';
	$slider_category = $options['themeZee_slider_category']; 

	$query_arguments = array(
		'post_status' => 'publish',
		'ignore_sticky_posts' => true,
		'posts_per_page' => $slider_limit,
		'orderby' => $slider_content,
		'order' => 'DESC',
		'category_name' => $slider_category
	);
	query_posts($query_arguments);
?>	

	<div id="slide_panel">
		<h2 id="slide_head"><?php echo esc_attr($options['themeZee_slider_title']); ?></h2>
		<div id="slide_keys">
			<a id="slide_prev" href="#prev">&lt;&lt;</a>
			<a id="slide_next" href="#next">&gt;&gt;</a>
		</div>
	</div>
	<div class="clear"></div>
	
	<div id="content-slider">
		
		<div id="slideshow">
		
		<?php if (have_posts()) : while (have_posts()) : the_post();
		
			get_template_part( 'loop', 'slide' );
		
		endwhile; ?>
		
		<?php endif; ?>
		
		</div>
	
	</div>
	<div class="clear"></div>
	
<?php
	//Reset Query
	wp_reset_query();
?>