exclude category from home
-
hello , I would like to exclude the post of a category from the home .
I entered the code
< ?php query_posts($query_string . ‘&cat=-53′); ?>
in
home.php and index.php before the loop
< ?php if (have_posts()) : ?>
< ?php while (have_posts()) : the_post(); ?>but the posts are still visible .
where am I wrong ?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘exclude category from home’ is closed to new replies.