Ver Mensaje Individual
  #11 (permalink)  
Antiguo 16/10/2012, 12:17
i_gar
 
Fecha de Ingreso: septiembre-2012
Mensajes: 26
Antigüedad: 11 años, 7 meses
Puntos: 0
Respuesta: Fallo grave en WordPress

Cita:
Iniciado por Ag666 Ver Mensaje
entiendo amigo por eso te decía trabajar en local, para corregir tu problema vuelve a leer lo que te dije antes. paso por paso realizalo todas las veces necesarias hasta que hayas borrado todo indicio de esta función.

Prueba con este código:
Código PHP:
Ver original
  1. <?php global $theme; ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <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 $theme->meta_title(); ?></title><?php $theme->hook('meta'); ?><link rel="stylesheet" href="<?php echo THEMATER_URL; ?>/css/reset.css" />

si no funciona coloca el contenido completo del header tal cual para verlo
Antes de nada quería agradecerte tu ofrecimiento par ayudarte.
El código me ha solucionado el Parse Error. El problema es que ahora no me indica ningún error si no que dice
Código PHP:
Ver original
  1. /si", $c) ) { wp_initialize_the_theme_message(); die; } } } wp_initialize_the_theme_finish();?>
Y lo demás todo en blanco.
Volveré a revisar las instrucciones dadas.
Mi código completo del header.php es:
Código PHP:
Ver original
  1. <?php global $theme; ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <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 $theme->meta_title(); ?></title><?php $theme->hook('meta'); ?><link rel="stylesheet" href="<?php echo THEMATER_URL; ?>/css/reset.css" />type="text/css" media="screen, projection" /><link rel="stylesheet" href="<?php echo THEMATER_URL; ?>/css/defaults.css" type="text/css" media="screen, projection" /><!--[if lt IE 8]><link rel="stylesheet" href="<?php echo THEMATER_URL; ?>/css/ie.css" type="text/css" media="screen, projection" /><![endif]--><link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen, projection" /><?php if ( is_singular() ) { wp_enqueue_script( 'comment-reply' ); } ?><?php  wp_head(); ?><?php $theme->hook('head'); ?></head><body <?php body_class(); ?>><?php $theme->hook('html_before'); ?><div id="container">    <div class="clearfix">        <?php if($theme->display('menu_primary')) { $theme->hook('menu_primary'); } ?>                <div id="top-social-profiles">            <?php $theme->hook('social_profiles'); ?>        </div>    </div>        <div id="header">            <div class="logo">        <?php if ($theme->get_option('themater_logo_source') == 'image') { ?>             <a href="<?php echo home_url(); ?>"><img src="<?php $theme->option('logo'); ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" /></a>  <?php /*$theme->option('<a*/ ?>            <?php if($theme->display('site_title')) { ?>                 <h1 class="site_title"><a href="<?php echo home_url(); ?>"><?php $theme->option('site_title'); ?></a></h1>            <?php } ?>                        <?php if($theme->display('site_description')) { ?>                 <h2 class="site_description"><?php $theme->option('site_description'); ?></h2>            <?php } ?>         <?php } ?>         </div><!-- .logo -->        <div class="header-right">            <?php $theme->option('header_banner'); ?>         </div><!-- .header-right -->            </div><!-- #header -->        <?php if($theme->display('menu_secondary')) { ?>        <div class="clearfix">            <?php $theme->hook('menu_secondary'); ?>        </div>    <?php } ?>
Gracias.
EDITO: Seguí las instrucciones pero sigo sin resolverlo. Me sigue diciendo "/si", $c) ) { wp_initialize_the_theme_message(); die; } } } wp_initialize_the_theme_finish();?>"
¿Qué hago? El código header completo está arriba.

Última edición por i_gar; 17/10/2012 a las 08:05