A
alexlex
Gamma
Verificado por Whatsapp
Espero que alguien mas experto en php me pueda dar una mano. La barra de navegacion de mi blog Enlace eliminado sale un texto que no tendria que estar ahi..este esclass="">
Estuve tratando de encontrar el error pero no se que es lo que pasa. Espero que alguien me pueda ayudar
Este es el codigo del header.php
Desde ya muchisimas gracias!
Estuve tratando de encontrar el error pero no se que es lo que pasa. Espero que alguien me pueda ayudar
Este es el codigo del header.php
Insertar CODE, HTML o PHP:
<?php
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
$activestyle = strtolower($wpzoom_theme_style);
?>
<!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" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wpzoom_titles(); ?></title>
<?php if (is_single() || is_page() ) : if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<meta name="description" content="<?php the_excerpt_rss(); ?>" />
<?php meta_post_keywords(); ?>
<?php endwhile; endif; elseif(is_home()) : ?>
<meta name="description" content="<?php if (strlen($wpzoom_meta_desc) < 1) { bloginfo('description');} else {echo"$wpzoom_meta_desc";}?>" />
<?php meta_home_keywords(); ?>
<?php endif; ?>
<?php wpzoom_index(); ?>
<?php wpzoom_canonical(); ?>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/style.css" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/styles/<?php echo"$activestyle";?>/style.css" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/dropdown.css" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php if (strlen($wpzoom_misc_feedburner) < 10) { bloginfo('rss2_url');} else {echo"$wpzoom_misc_feedburner";} ?>" />
<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'); ?>" />
<?php wp_enqueue_script('jquery'); ?>
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); ?>
<script src="<?php bloginfo('stylesheet_directory'); ?>/js/dropdown.js" type="text/javascript"></script>
<?php if (is_home()) { ?>
<?php if ($wpzoom_featured_posts_show == 'Yes') { ?>
<script src="<?php bloginfo('stylesheet_directory'); ?>/js/loopedslider.min.js" type="text/javascript"></script>
<?php } ?>
<?php } ?>
<script src="<?php bloginfo('stylesheet_directory'); ?>/js/simpletabs.js" type="text/javascript"></script>
<!--[if IE 7.0]>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/style_ie7.css" />
<![endif]-->
</head>
<body>
<div id="container">
<div id="header">
<div id="logo">
<a href="<?php echo get_option('home'); ?>"><?php if ($wpzoom_misc_logo_path) { ?><img src="<?php echo "$wpzoom_misc_logo_path";?>" alt="<?php bloginfo('name'); ?>" /><?php } else { ?><img src="<?php bloginfo('stylesheet_directory'); ?>/styles/<?php echo"$activestyle";?>/images/logo.png" alt="<?php bloginfo('name'); ?>" /><?php } ?></a>
</div><!-- end #logo -->
<?php if ($wpzoom_ad_head_select == 'Yes') {?>
<div id="bannerHead"><?php echo stripslashes($wpzoom_ad_head_code); ?></div>
<?php } ?>
<div class="cleaner"> </div>
</div><!-- end #header -->
<div id="navigation">
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/men_crn_left.png" width="2" height="29" alt="" class="alignleft" />
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/men_crn_right.png" width="2" height="29" alt="" class="alignright" />
<div id="menuSocial">
<ul>
<?php if (strlen($wpzoom_soc_facebook) > 1) { ?><li><a href="<?php echo $wpzoom_soc_facebook; ?>" rel="external,nofollow"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/ic_facebook.png" width="16" height="16" alt="" /></a></li><?php } ?>
<?php if (strlen($wpzoom_soc_twitter) > 1) { ?><li><a href="http://twitter.com/<?php echo $wpzoom_soc_twitter; ?>" rel="external,nofollow"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/ic_twitter.png" width="16" height="16" alt="" /></a></li><?php } ?>
<li><a href="<?php if (strlen($wpzoom_misc_feedburner) < 10) { bloginfo('rss2_url');} else {echo"$wpzoom_misc_feedburner";} ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/ic_rss.png" width="16" height="16" alt="" /></a></li>
</ul>
</div><!-- end #menuSocial -->
<div id="menu" class="dropdown">
<?php $menu = wp_nav_menu( array('container' => '', 'container_class' => '', 'menu_class' => '', 'menu_id' => 'nav', 'echo'=> false, 'sort_column' => 'menu_order', 'theme_location' => 'primary' ) );
/* now we remove the <ul> at the beginning of the generated menu, we will append it manually together with a <li></li> that contains are home icon */
$menu = substr($menu, 13);
$menu = '<ul id="nav"><li class="home"><a href="'. get_option('home').'" rel="nofollow"><img src="'. get_bloginfo('stylesheet_directory') .'/images/men_icon_home.png" width="16" height="14" alt="" /></a></li>' . $menu;
/* now we remove the </ul> at the end of the generated menu, we will append it manually together with a <li class="cleaner"> </li> that clears all floated elements */
$menu_new = substr($menu, 0, -5);
$menu_new .= '<li class="cleaner"> </li></ul>';
print_r($menu_new);
?>
</div>
</div><!-- end #navigation -->
Desde ya muchisimas gracias!