Ver Mensaje Individual
  #9 (permalink)  
Antiguo 14/04/2011, 11:26
carlossse
 
Fecha de Ingreso: abril-2011
Mensajes: 5
Antigüedad: 13 años, 11 meses
Puntos: 0
Respuesta: AYUDAA POR FAVOOR Parse error: syntax error, unexpected '}'

ya restaure el codigo original de functions.php. pero ahora me sale esto!

Fatal error: Call to undefined function codium_extend_body_class() in /home/kittenby/public_html/blog/wp-content/themes/codium-extend/header.php on line 16


y este es el codigo de header.php:

Código PHP:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes() ?>>
  3. <head profile="http://gmpg.org/xfn/11">
  4. <meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
  5. <meta name="viewport" content="width=device-width" />
  6. <title><?php bloginfo('name'); wp_title();?></title>
  7. <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
  8. <link href='http://fonts.googleapis.com/css?family=PT+Sans&subset=latin' rel='stylesheet' type='text/css'>
  9. <link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
  10. <link rel="shortcut icon" href="/favicon.ico" />
  11. <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
  12. <?php wp_head() ?>
  13.  
  14. </head>
  15.  
  16. <body class="<?php codium_extend_body_class() ?>">
  17.  
  18. <div id="wrapperpub">
  19.     <div id="header">
  20.         <div class="dp100">
  21.             <h1 id="blog-title" class="blogtitle"><a href="<?php echo home_url( '/' ); ?>" title="<?php bloginfo('name') ?>"><?php bloginfo('name') ?></a></h1>
  22.             <div class="description"><?php bloginfo('description'); ?> </div>
  23.         </div><!-- dp100 -->       
  24.     </div><!--  #header -->
  25. </div><!--  #wrapperpub -->        
  26. <div class="clear"></div>
  27. <div id="wrapper"> 
  28.         <div id="access">
  29.             <div class="menu">
  30.                 <ul>
  31.                     <li>
  32.                         <a href="<?php echo home_url( '/' ); ?>" title="home" class="top_parent"><?php printf(__('HOME', 'codium_extend')) ?></a>
  33.                     </li>
  34.                 </ul>
  35.             </div>
  36.                     <?php wp_nav_menu(array( 'container_class' => 'menu-header', 'theme_location' => 'primary-menu',)); ?>         
  37.         </div><!--  #access -->
  38. <div class="clear"></div>