Autor Tópico: Mudar tema a WordPress  (Lida 1684 vezes)

Offline jotix

  • Newbie
  • *
  • Mensagens: 0
  • Karma: +0/-0
    • Ver Perfil
Mudar tema a WordPress
« em: Fevereiro 24, 2009, 05:43:30 pm »
Pretendo mudar o template do meu blog, mas estou com alguns problemas.

Escolhi o template http://dellustrations.com/blog/2009/01/28/...rdpress-themes/

Estive a moficar os ficheiros psd, mas depois quando o instalei no wordpress não funcionou!

Aparece esta mensagem, quando se abre o blog com esse template:

Warning: Cannot modify header information - headers already sent by (output started at /home/euritone/public_html/wp-content/themes/wordpress-brown/functions.php:2) in /home/euritone/public_html/wp-includes/pluggable.php on line 850

O conteúdo do ficheiro functions.php é:
Citar
<?
if ( function_exists('register_sidebar') )
    register_sidebars(2, array(
        'before_widget' => '<ul class="category-bg widget %2$s">',
        'after_widget' => '</ul>',
        'before_title' => '<h2>',
        'after_title' => '</h2>',
    ));
?>

O que poderá estar a fazer com que o template não funcione?

Offline Teotónio Ricardo

  • Administrator
  • Newbie
  • *****
  • Mensagens: 0
  • Karma: +0/-0
    • Ver Perfil
    • http://www.teotonio.pt
Mudar tema a WordPress
« Responder #1 em: Fevereiro 24, 2009, 05:47:14 pm »
Limpa os espaços antes e depois do <?php e ?>

Offline jotix

  • Newbie
  • *
  • Mensagens: 0
  • Karma: +0/-0
    • Ver Perfil
Mudar tema a WordPress
« Responder #2 em: Fevereiro 24, 2009, 06:21:43 pm »
Obrigado cenourinha!

Funcionou. Mas infelizmente o template deve ser incompatível, porque aparecem muitas coisas desfiguradas, além de ter um header que ocupa mto espaço.

Vou-me ficar pelo actual...

Offline jotix

  • Newbie
  • *
  • Mensagens: 0
  • Karma: +0/-0
    • Ver Perfil
Mudar tema a WordPress
« Responder #3 em: Fevereiro 25, 2009, 02:33:15 am »
... até mudei o header

 

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