omit category from wordpress page, with paging


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
  2. query_posts('cat=-24&paged='.$paged);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.