I've got a problem to solve. I've wordpress site with 2 pages : Food and Cooking.
I've groups : food_groups (1) and cooking_groups (2).
I wish to show only (1) on Food page and just (2) on Cooking page.
Help me to solve it . Thanks all.
Use this code, here you need to alter the category id of yours.you could have more sample at http://codex.wordpress.org/Function_Reference/query_posts
query_posts('cat=3'); // set $more to 0 in order to only get the first part of the post global $more; $more = 0; // the Loop while (have_posts()) : the_post(); the_content( 'Read the full post »' ); endwhile;