Erro ao exibir pagina personalizada
Olá
Alguém saberia me dizer onde está o erro nesse codigo?
<?php if (function_exists('get_header')) {get_header(); }?>
<img src="<?php bloginfo('template_url');?>/images/singleBG.jpg" />
<?php query_posts('showposts=1'); ?>
<?php if(have_posts()) : while(have_posts()) : (the_post()); ?>
<div id="single">
<?php post_class(); ?>
<h4><?php the_title(); ?> </h4>
<?php the_post_thumbnail(); ?>
<div class="single-texto"><p><?php the_content(); ?> </p></div>
<small><?php if (function_exists('the_tags'))the_tags(); ?></small>
<ul class='post-meta'>
<li><span class='post-meta-key'></span> <?php the_meta(); ?></li>
</ul>
<?php endwhile; else: ?>
<?php endif ;?>
</div>
<div id="clearBoth"> </div>
<?php get_footer(); ?>
está emitindo o seguinte erro no navegador
( ! ) Fatal error: Call to undefined function bloginfo() in D:\Program Files\wamp\www\MeuTema2\wp-content\themes\MeuTema2\single-historia.php on line 3 Call Stack #TimeMemoryFunctionLocation 10.0017377224{main}( )..\single-historia.php:0
Discussão (1)
Carregando comentários...