Autor Tópico: Problemas com o wordpress  (Lida 1531 vezes)

Offline Miguluis

  • Newbie
  • *
  • Mensagens: 0
  • Karma: +0/-0
    • Ver Perfil
Problemas com o wordpress
« em: Março 02, 2009, 01:16:15 pm »
Boas pessoal

Tou a criar uma pagina usando o wordpress mas ta dificil xD
Ontem reparei que ao vermos os comentarios de um post aparece um erro e nao sei o que fazer o site é www.dexter.surge8.com o erro que me aparece é

Fatal error: Call to undefined function the_tags() in /www/surge8.com/d/e/x/dexter/htdocs/wp-content/themes/StudioPress_Orange/single.php on line 20

Fui a pagina single.php mas nao sei o que fazer para por a funcionar direito os comentarios ate o template ficou todo desconfigurado na parte dos comentarios.

O que apareca na pagina single.php é:

Código: [Seleccione]
<?php get_header(); ?>

<div id="contentwrapper"><div id="content">

<div class="adsense_top"><?php include (TEMPLATEPATH . '/adsense_top.php'); ?></div>

<?php if (have_posts()) : ?>

<?php while (have_posts()) : the_post(); ?>

<div class="post">

<h2 class="postTitle"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<div class="postMeta">
<span class="date"><?php the_time('M.d, Y') ?></span> in
<span class="filed"><?php the_category(', '); ?></span>
</div>
<div class="postContent"><?php the_content('(Read the rest of this entry...)'); ?></div>

<div class="postTags"><?php the_tags('Tags: ', ', ', ''); ?></div>

<p class="comments"><?php comments_popup_link('Leave a Comment', 'Comments (1)', 'Comments (%)'); ?></p>
</div> <!-- Closes Post -->

<div class="comment">
<?php comments_template(); ?>
</div> <!-- Closes Comments -->

<?php endwhile; ?>

<?php else : ?>

<div class="post">
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
</div> <!-- Closes Post -->

<?php endif; ?>



</div></div> <!-- Closes Content -->

<?php get_sidebar(); ?>

<div class="cleared"></div>

</div> <!-- Closes Main -->
<div class="bottomcurvewhite"></div>



<?php get_footer(); ?>

Espero uma resposta da comunidade
hasta xD
« Última modificação: Março 02, 2009, 01:29:00 pm por southafrikanse »

Offline southafrikanse

  • A noob in a geek world
  • Administrator
  • Newbie
  • *****
  • Mensagens: 0
  • Karma: +0/-0
    • Ver Perfil
    • http://www.tugatronica.com
Problemas com o wordpress
« Responder #1 em: Março 02, 2009, 01:32:48 pm »
A solução imediata é removeres esta parte:

Código: [Seleccione]
<div class="postTags"><?php the_tags('Tags: ', ', ', ''); ?></div>
Blog Pessoal | Tugatrónica | Fórum Webtuga
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."

Offline Miguluis

  • Newbie
  • *
  • Mensagens: 0
  • Karma: +0/-0
    • Ver Perfil
Problemas com o wordpress
« Responder #2 em: Março 02, 2009, 07:39:11 pm »
obrigadao mesmo ja ta funcioando xD

 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49