i'm developing a theme featuring its two pages, blog and portfolio. well, i have groups which associated with the portfolio posts (ie. website design, graphics) and groups relevant towards the blogs (ie. lessons, todos)

i've two pages (/blog and /portfolio), in every, i must show their email list of groups related onto the particular types

(i might not be obvious) making this a good example:

all groups: cat1, cat2, cat3, cat4, cat5,cat6

for portfolio: 

for blog:

so it is possible to method to split them like this


This is actually the method I personally use to manage which group of posts shows which pages of the WordPress blog. I place this type of code in to the page.php file, right before the loop is known as:

$catID = 0;
if (is_page('videos')) {
} elseif (is_page('music')) {
 elseif (is_page('poetry')) {

if ($catID) {
 $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
} ?>

Note: What they are called in parentheses after "is_page=" would be the page slugs, not the page game titles.

By using this type of code, you are able to tell which page to show which group of posts.

Read more information relating to this inside my blog if you want it: WordPress: How to control which category of posts displays on particular pages

You should use wordpress_list_groups() method inside your template, this process takes an "exclude" or "exclude_tree" parameter, which enables you to definitely exclude blog groups within the first list, and portfolio within the second.