va sitaip (dedama i sidebar.php ar kur kitur:) <?php $categoryList = array(); foreach((get_the_category()) as $category) { $categoryList[] = $category->cat_ID; } ?><?php if (is_home()) { } else{ wp_list_categories("title_li=&include=&child_of=" . join(",", $categoryList)); } ?> "AV" <av@av.lt> wrote in message news:hn31i5$o0q$1@trimpas.omnitel.net... > viršui naudok > get_pages('parent=0&sort_column=menu_order'); > gausi tik root'inius puslapius > > o šone reiktų žaisti kažką su šiom funkcijom: > > $current_page = get_page(get_the_ID()); > $current_page_childs = get_pages('child_of='.$current_page->ID);