Ver Mensaje Individual
  #1 (permalink)  
Antiguo 24/09/2007, 13:56
Pecharroman
 
Fecha de Ingreso: septiembre-2007
Mensajes: 7
Antigüedad: 16 años, 7 meses
Puntos: 0
Busqueda Problema con sintaxis de PHP

¿Dónde está el error aquí?

<?php get_header(http://www.acehber.com/PHPrueba/header.php); ?>
<?php get_sidebar(); ?>
<div class="recentarticles">
<h3>Recent articles</h3>
<p>
<?php $my_query = new WP_Query("showposts=6"); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); $shorttitle = substr(the_title("","",FALSE),0,90); ?>
<a title="<?php echo the_title() ?>" href="<?php the_permalink() ?>">
<img src="<?php bloginfo("stylesheet_directory"); ?>/images/strelica2.gif" width="6px" height="5px" alt="" /> <?php echo the_title(); ?>
</a>
<?php endwhile; ?>
</p>
</div>

<div class="post">
<?php if (is_home()) { query_posts("showposts=1"); }?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h3 class="posttitle">Latest: <?php the_title(); ?></h3>
<em><?php the_time("jS F Y"); ?></em><br />
<?php the_excerpt() ?>
<div style="clear:both"></div>
<div class="readon"><a href="<?php the_permalink() ?>">Leer en &raquo;</a></div><div class="readon"><?php comments_popup_link("Comentario", "1 Comentario", "% Comentarios"); ?></div>
<br /><br /><br /><br />
<?php endwhile; ?>


<?php else : ?>
<h3>Error</h3>
<p>Archivos no encontrados</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<div style="clear:both"></div>
<?php endif; ?>
</div>

<?php get_footer(); ?>

Sospecho que está en <?php get_header(http://www.acehber.com/PHPrueba/header.php); ?>. Mi intención al poner la dirección entre los paréntesis era hacer que PHP cogiera el header de esa ubicación; ¿Cómo hacerlo si no es de esa manera?

Muchas gracias!