• Hi all,

    I have made one category called “news” and i have excluded posts of that category from home page using if (in_category('257')) continue;

    and on Same page.. i am displaying “news”‘s posts also.

    Now the situation is.. Say.. If i have limit home page post display “20” then.. if I post 15 in news category.. then.. main posts count will become 5 only.. because 15 is already being diplayed on News section..

    How can I overcome this situation?

    Regards

Viewing 1 replies (of 1 total)
  • not use that technique ??
    Pre-exclude the category with a query_post
    query_posts($query_string . '&cat=-257');

Viewing 1 replies (of 1 total)
  • The topic ‘Exclude one Cat from menu, and Limit post to 20 excluding that CAT’ is closed to new replies.