mystique adlı temasındaki navigator menüsünü kendi yapmış oldğum temaya nasıl entegre edebilirim acaba yani kodları kopyaladığımda hata ile karşılaşıyorum.

kodlarım da aşağıda

<div id="navmenu">

<ul id="navigation">

         <?php
          $navtype = get_mystique_option('navigation');
          if((get_option('show_on_front')<>'page') && get_mystique_option('exclude_home')<>'1'):
           if(is_home() && !is_paged()): ?>
            <li class="current_page_item" id="nav-home"><a class="home fadeThis" href="<?php echo get_settings('home'); ?>" title="<?php _e('You are Home','mystique'); ?>"><span class="title"><?php _e('Home','mystique'); ?></span><span class="pointer"></span></a></li>
           <?php else: ?>
            <li id="nav-home"><a class="home fadeThis" href="<?php echo get_option('home'); ?>" title="<?php _e('Click for Home','mystique'); ?>"><span class="title"><?php _e('Home','mystique'); ?></span><span class="pointer"></span></a></li>
          <?php
           endif;
          endif; ?>
         <?php
           if($navtype=='categories'):
            echo preg_replace('@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i', '<li$1><a class="fadeThis"$2><span class="title">$3</span><span class="pointer"></span></a>', wp_list_categories('show_count=0&echo=0&title_li=&exclude='.get_mystique_option('exclude_categories')));
           elseif($navtype=='links'):

            $links = get_bookmarks(array(
            'orderby'        => 'name',
            'order'          => 'ASC',
            'limit'          => -1,
            'category'       => null,
            'category_name'  => get_mystique_option('navigation_links'),
            'hide_invisible' => true,
            'show_updated'   => 0,
            'include'        => null,
            'search'         => '.'));

            foreach ($links as $link)
             echo '<li><a class="fadeThis" href="'.$link->link_url.'" target="_blank"><span class="title">'.$link->link_name.'</span></a><li>';

           else:
             echo preg_replace('@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i', '<li$1><a class="fadeThis"$2><span class="title">$3</span><span class="pointer"></span></a>', wp_list_pages('echo=0&orderby=name&title_li=&exclude='.get_mystique_option('exclude_pages')));
           endif;
          ?>

      </ul>

<div id="navgolge"></div>
</div>