I would also like to change the Search sidebar menu so that when I click on computers category it stays the same. I have been trying to do this with functions.php in this section.
echo '<li><a href="'.osc_esc_html(osc_update_search_url(array('sCategory'=>null, 'iPage'=>null))).'">'.__('', 'sigma')."</a></li>";
}
foreach($c as $key => $value) {
?>
<li>
<a id="cat_<?php echo osc_esc_html($value['pk_i_id']);?>" href="<?php echo osc_esc_html(osc_update_search_url(array('sCategory'=> $value['pk_i_id'], 'iPage'=>null))); ?>">
<?php if(isset($current_category) && $current_category == $value['pk_i_id']){ echo '<strong>'.$value[''].'</strong>'; }
else{ echo $value['s_name']; } ?>
</a>
</li>
<?php
}
if($i==1) {
echo "</ul>";
} else {
echo "</ul>";
}
} else {
?>
<ul <?php echo $class;?>>
<?php if($i==1) {
echo '<li><a href="'.osc_esc_html(osc_update_search_url(array('sCategory'=>null, 'iPage'=>null))).'">'.__('', 'sigma')."</a></li>";
}
foreach($c as $key => $value) {
?>
<li>
<a id="cat_<?php echo osc_esc_html($c['pk_i_id']);?>" href="<?php echo osc_esc_html(osc_update_search_url(array('sCategory'=> $c['pk_i_id'], 'iPage'=>null))); ?>">
<?php if(isset($current_category) && $current_category == $c['pk_i_id']){ echo '<strong>'.$c[''].'</strong>'; }
else{ echo $c['s_name']; } ?>
</a>
<?php sigma_print_sidebar_category_search($aCategories, $current_category, $i); ?>
</li>