Cita:
Iniciado por Nekko Posiblemente necesites editar tu header.php, habría que ver la estructura HTML CSS que tenés para ir viendo como modificarla y como querés utilizar tu nuevo menú (podés usar la nueva funcion wp_nav_menu o directamente llamar a un listado de categorías y páginas).
Orientanos un poco sobre lo que tenés y lo que ya hiciste como para ir guiandote mejor.
Este es mi header
Código HTML:
Ver original<?php
global $link_page,$link_cat,$which_theme,$tabbed_page;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-Strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=
<?php bloginfo('charset'); ?>" />
<?php if(get_option('rttheme_effect_options')){?>
<meta name="rttheme_effect_options" content="<?php echo get_option('rttheme_effect_options');?>" />
<?php }else{?>
<meta name="rttheme_effect_options" content="fade" /> <?php }?>
<?php if(get_option('rttheme_slider_time_out')){?>
<meta name="rttheme_slider_time_out" content="<?php echo get_option('rttheme_slider_time_out')*1000;?>" />
<?php }else{?>
<meta name="rttheme_slider_time_out" content="6000" /> <?php }?>
<meta name="rttheme_template_dir" content="<?php bloginfo('template_directory'); ?>" />
<?php if(get_option('rttheme_disable_cufon')){?>
<meta name="rttheme_disable_cufon" content="<?php echo get_option('rttheme_disable_cufon');?>" />
<?php }?>
<title><?php if (is_home()): bloginfo('name'); else: wp_title('');endif; ?></title>
<link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/images/favicon.ico" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="
<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="
<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/style.css" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/
<?php echo $which_theme;?>/style_cf.css" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/prettyPhoto.css" media="screen" />
<?php
//Register Jquery
wp_deregister_script('jquery');
wp_register_script('jquery',get_bloginfo('template_directory') . '/js/jquery-1.4.2.min.js', false, '');
wp_enqueue_script('jquery');
?>
<?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.easing.1.3.js">
</script> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.cycle.all.min.js">
</script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.tools.min.js">
</script> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.validate.js">
</script> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.form.js">
</script> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.prettyPhoto.js">
</script> <?php if(!get_option('rttheme_disable_cufon')){?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/cufon-yui.js">
</script> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/Aller_Light_400.font.js">
</script> <?php }?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/script.js">
</script>
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/ie6.css" />
<script type='text/javascript' src='<?php bloginfo('template_directory'); ?>/js/dd_belated_png.js'></script>
<script>DD_belatedPNG.fix('.png');</script>
<![endif]-->
<?php if(get_option('rttheme_slider_height')):
$new_heigth=get_option('rttheme_slider_height');
$new_heigth=trim(preg_replace('#px#', "",$new_heigth));
$new_arrow_position = ($new_heigth/2)-20;
?>
#slider, #slider_area, .slide{
height:<?php echo $new_heigth;?>px !important;
}
.prev,
.next {
margin:<?php echo $new_arrow_position;?>px 0 0 0px;
}
<?php endif;?>
<?php
// remove footer background if user set custom background image
$background = get_background_image();
$background_color = get_background_color();
if($background || $background_color){
echo "<style>.footer_background{ background:transparent !important; }
</style>";
}
?>
<!-- header -->
<!-- logo -->
<div id="logo"><a href="<?php bloginfo('url'); ?>" title="
<?php echo bloginfo('name');?>">
<img src="<?php if(get_option('rttheme_logo_url')): echo get_option('rttheme_logo_url'); else:?><?php bloginfo('template_directory'); ?>/images/
<?php echo $which_theme;?>/logo.png
<?php endif;?>" alt="
<?php echo bloginfo('name');?>" class="png" />
</a></div> <!-- /logo -->
<!-- header links & flags-->
<div class="top_content">
<!-- top links -->
<?php
//find first a tag and add id
function add_class_top($output){
$degistir=" first\"><a ";
return preg_replace('/'.$bul.'/', $degistir, $output, 1);
}
//top menu parameters
$top_menu=array(
'menu' => 'RT Theme Top Navigation Menu',
'depth'=> 1,
'echo' => false,
'menu_class' => '',
'menu_id' => '',
'container' => '',
'container_class' => '',
'container_id' => '',
'fallback_cb' => ''
);
add_filter('wp_nav_menu', 'add_class_top');
echo wp_nav_menu($top_menu);
?>
<!-- / top links -->
<!-- / login form -->
<div class="izda"> <a href="login/login.do"><img src="images/btn-acceder.png" alt="acceder" border="0" align="middle" /></a> <a href="https://miweb.com"><img src="" alt="Registro" border="0" align="middle" /></a> <div class="caja_idiomas_registro"> <!-- / flags -->
<?php do_action('icl_language_selector'); ?>
<!-- / flags -->
<!-- / login form -->
<!-- / header links, form & flags -->
<!-- /header -->