In main.php replace:
<?php if( zara_current('zc_home_premium') == 1 ) { ?>
<?php ob_start(); ?>
<!-- Extra Premiums Block #4 -->
<div class="home-container hc-premiums">
<div class="inner">
<div id="latest" class="white prem">
<h2 class="home">
<?php _e('Premium listings', 'zara'); ?>
</h2>
<?php
if( function_exists('zc_current') && zara_current('zc_home_premium_count') <> '' && zara_current('zc_home_premium_count') > 0) {
$premium_count = zara_current('zc_home_premium_count');
} else {
$premium_count = 6;
}
osc_get_premiums( $premium_count );
?>
<?php if( osc_count_premiums() > 0) { ?>
<div class="block">
<div class="wrap">
<?php $c = 1; ?>
<?php while( osc_has_premiums() ) { ?>
<?php zara_draw_item($c, 'gallery', true); ?>
<?php $c++; ?>
<?php } ?>
</div>
</div>
<?php } else { ?>
<div class="empty"><?php _e('No premium listings', 'zara'); ?></div>
<?php } ?>
<?php //View::newInstance()->_erase('items') ; ?>
</div>
<!-- Home Banner #5 -->
<?php echo zara_banner('home', 5); ?>
</div>
</div>
<?php $home4 = ob_get_clean(); ?>
<?php } ?>
with:
<?php ob_start(); ?>
<!-- Extra Premiums Block #4 -->
<div class="home-container hc-premiums">
<div class="inner">
<div id="latest" class="white prem">
<h2 class="home">
<?php _e('Premium listings', 'zara'); ?>
</h2>
<?php
if( function_exists('zc_current') && zara_current('zc_home_premium_count') <> '' && zara_current('zc_home_premium_count') > 0) {
$premium_count = zara_current('zc_home_premium_count');
} else {
$premium_count = 6;
}
osc_get_premiums( $premium_count );
?>
<?php if( osc_count_premiums() > 0) { ?>
<div class="block">
<div class="wrap">
<?php $c = 1; ?>
<?php while( osc_has_premiums() ) { ?>
<?php zara_draw_item($c, 'gallery', true); ?>
<?php $c++; ?>
<?php } ?>
</div>
</div>
<?php } else { ?>
<div class="empty"><?php _e('No premium listings', 'zara'); ?></div>
<?php } ?>
<?php //View::newInstance()->_erase('items') ; ?>
</div>
<!-- Home Banner #5 -->
<?php echo zara_banner('home', 5); ?>
</div>
</div>
<?php $home4 = ob_get_clean(); ?>