I have this code for the loop, and I need to exclude a category 4
from this loop. Any suggestions on how to achieve this?
Code that starts the loop
<?php if(have_posts()): ?>
<ol class="item_lists">
<?php
$end = array(3,6,9,12,15,18,21,24,27,30,33,36,39,42,45);
$i = 0;
while (have_posts()) : the_post();
$i++;
global $post;
?>