<ul class="menu">
<li class="page_item <?php if(is_home()) echo 'current_page_item' ?>"><a rel="nofollow" title="Home" href="<?php echo get_option('home'); ?>">Home</a></li>
<?php wp_list_pages('title_li=&sort_column=menu_order&depth=3&exclude=' . $theme_options['excluded-pages']); ?>
<?php
$blog_cat_ID = get_cat_ID( 'Blog' );
$featured_cat_ID = get_cat_ID( 'featured' );
$descendant = false;
$current_cat = get_query_var('cat');
$descendant = cat_is_ancestor_of($blog_cat_ID, $current_cat);
?>
<?php if ($theme_options['portfolio'] == 1) : ?>
<li class="page_item <?php if((!is_category('Blog') && is_category() && !$descendant) || (is_single() && !in_category('Blog'))) echo 'current_page_item' ?>">
<a id="portfolio" title="Portfolio"><?php echo $theme_options['portfolio-title']; ?></a>
<ul>
<?php // get portfolio categories except blog
wp_list_categories('title_li=&hide_empty=0&depth=2&exclude=' . $blog_cat_ID . ',' . $featured_cat_ID . ',' . $theme_options['excluded-cats']);
?>
</ul>
</li>
<?php endif; ?>
<?php if ($theme_options['blog'] == 1) : ?>
<li class="page_item <?php if((is_category('Blog') || $descendant) || (is_single() && in_category('Blog'))) echo 'current_page_item' ?>">
<a rel="nofollow" title="Blog" href="<?php echo get_category_link( $catID ); ?>">Blog</a>
<ul>
<?php wp_list_categories('title_li=&hide_empty=0&depth=2&child_of=' . $blog_cat_ID ); ?>
</ul>
</li>
<?php endif; ?>
</ul>arkadaşlar bu kodlarda menü oluşturulması ile ilgili bi kod var. benim istediğim Portfolio ve Blog menüsü gibi buraya nasıl menü eklerim.
örnek veriyorum.
hizmetleriniz diye bi menü yapacağım acılır menüsünde 2 tane kısım olacak bir tanesi Özel Ders diğeri Etüd. edüt kısmınında 2 adet alt menüsü olacak dershanede evde
Kategori durumu yanlarında idleri verilmiştir.
Hizmetlerimiz (5)
-Özel Ders (6)
-Edüt (7)
--Dershane (8)
--Ev (9)
Yardımcı olursanız inanın cok sevineceğim.