Ver Mensaje Individual
  #3 (permalink)  
Antiguo 07/05/2010, 19:43
Avatar de jcxnet
jcxnet
 
Fecha de Ingreso: octubre-2005
Ubicación: Perú
Mensajes: 784
Antigüedad: 19 años, 1 mes
Puntos: 56
Respuesta: Menu wordpress

Te pillaron con el theme !! modifica el archivo header.php por este:
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title>
<?php if ( is_search()) { ?><?php bloginfo('name'); ?>&nbsp;||&nbsp;Search Results<?php ?>
<?php 
if ( is_author()) { ?><?php bloginfo('name'); ?>&nbsp;||&nbsp;Author Archives<?php ?>
<?php 
if ( is_single()) { $custom_title get_post_meta($post->ID'natty_title'true); 
if (
strlen($custom_title)) {echo strip_tags(stripslashes($custom_title));}else {?><?php wp_title(''); ?>&nbsp;||&nbsp;<?php bloginfo('name'); ?><?php }} ?>
<?php 
if ( is_page()) { $custom_title get_post_meta($post->ID'natty_title'true); 
if (
strlen($custom_title)) {echo strip_tags(stripslashes($custom_title));}else {?><?php bloginfo('name'); ?>&nbsp;||&nbsp;<?php wp_title(''); ?><?php }} ?>
<?php 
if ( is_category()) { ?><?php bloginfo('name'); ?>&nbsp;||&nbsp;Archive&nbsp;|&nbsp;<?php single_cat_title(); ?><?php ?>
<?php 
if ( is_month()) { ?><?php bloginfo('name'); ?>&nbsp;||&nbsp;Archive&nbsp;|&nbsp;<?php the_time('F'); ?><?php ?>
<?php 
if (function_exists('is_tag')) { if ( is_tag() ) { ?><?php bloginfo('name'); ?>&nbsp;||&nbsp;Tag Archive&nbsp;||&nbsp;<?php  single_tag_title(""true); } } ?>
</title>

<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
<?php include (TEMPLATEPATH '/style.php'); ?>

<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/mootools.js"></script>    
    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/flashstockslidestrip.js"></script>    
    
    <!--[if IE 6]>
        <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/menu.js"></script>
        <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/ie6.css" />
        <style type="text/css">
            img.png {
            filter: expression(
            (runtimeStyle.filter == '') ? runtimeStyle.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src='+src+', sizingMethod=scale)' : '',
            width = width,
            src = '<?php bloginfo('template_url'); ?>/images/px.gif');
    }
        </style>
    <![endif]-->

<?php wp_head(); ?>
</head>

<?php $t_twitter_link get_option"t_twitter_link" );    ?>

<body>
<div id="header">
     <div class="content-pad">
         <?php t_get_logo ('<div id="logo">''</div>'); ?>  
          
         <div class="menu">
            <ul class="nav">
            </ul>
         </div>
         <div id="top_search"> 
            <?php include( TEMPLATEPATH '/searchform.php'); ?>     
         </div>
     </div>
</div>

<div class="content-pad">
            <div class="top">
                <div class="menu">    
                    <ul class="nav">
                     <li <?php if(is_home()){?> class="current_page_item"<?php ?>><a href="<?php bloginfo('url'); ?>"><span><?php echo get_option('t_home_name');?></span></a></li>
                        <?php 
                            $exclude 
get_option('t_exclude_cats');
                            if (
$exclude == 'no' || $exclude[0] == 'no' || $exclude[0] == ''){
                                
$exclude '';
                            } else {
                                
$exclude join(','$exclude );    
                            }            
                            
$categories wp_list_categories('sort_column=menu_order&depth=3&echo=0&title_li=&exclude='$exclude ); 
                            
$categories preg_replace('%<a ([^>]+)>%U','<a $1><span>'$categories);
                            
$categories str_replace('</a>','</span></a>'$categories);
                            echo 
$categories;
                            
                
                    
$exclude get_option('t_exclude_pages');
                    if (
$exclude[0] == 'no' || $exclude[0] == ''){
                        
$exclude '';
                    } else {
                        
$exclude join(','$exclude );    
                    }        
                
$pages wp_list_pages('sort_column=menu_order&title_li=&echo=0&depth=0&exclude='$exclude);
                
$pages preg_replace('%<a ([^>]+)>%U','<a $1><span>'$pages);
                
$pages str_replace('</a>','</span></a>'$pages);
                echo 
$pages;
                
                            
                        
?>
                    </ul>
                </div>
                <div class="menu-info">
                    <?php $t_feedburnerurl get_option('t_feedburnerurl'); if ($t_feedburnerurl == '') {?>
                            <a id="rss" href="<?php bloginfo('rss2_url'); ?>">RSS</a>
                            <?php } else { ?>
                            <a href="<?php echo $t_feedburnerurl ?>">RSS</a>
                            <?php ?>
                    <?php if ($t_twitter_link != '') { ?><a id="twitter" href="<?php echo $t_twitter_link?>">Follow me</a><?php ?>
                </div>
            </div> <!-- END top -->

<!-- END Header -->
__________________
►I'm a devil on the run ♂
Jcxnet.com
*Keep It Simple **