pBlog Fórum, tudo sobre WordPress » Configuração

Trackbacks e Comentários

(1 mensagem)
  • Iniciado 7 meses atrás por ivanrsl

  1. 01
    Meus TrackBacks estão aparecendo assim:

    --------------------------------

    Tweets that mention [FCRS] Fundação Cultural de Rio do Sul » Orquestra se apresenta na Catedral -- Topsy.com disse:
    26 de janeiro de 2010 às 1:48

    [...] This post was mentioned on Twitter by Fundação Cultural, zitoecia. zitoecia said: Orquestra se apresenta na Catedral de Rio do sul s/c http://bit.ly/50d0ef [...]

    --------------------------------

    Tem como traduzir esta parte em ingles para português?

    02
    Como faço a separação de comentários e trackbacks, si que no blog tem um tutorial de como fazer isso, mas não se aplicou ao meu site:

    [code]
    <?php

    // Do not delete these lines
    if (isset($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
    die ('Por favor não atualize esta página diretamente. Obrigado!');

    if ( post_password_required() ) { ?>
    <p class="nocomments"><?php _e('Este artigo está protegido por senha. Entre com sua senha.'); ?></p>
    <?php
    return;
    }
    ?>

    <!-- You can start editing here. -->

    <?php if ( have_comments() ) : ?>
    <h5 class="<?php the_category_unlinked(''); ?>"><?php comments_number(__('Nenhum comentário'), __('Um comentário'), __('% comentários'));?></h5></br>

    <div class="navigation">
    <div class="alignleft"><?php previous_comments_link() ?></div>
    <div class="alignright"><?php next_comments_link() ?></div>
    </div>

    <ol class="commentlist">
    <?php wp_list_comments(array('avatar_size'=>75, ));?>

    <div class="navigation">
    <div class="alignleft"><?php previous_comments_link() ?></div>
    <div class="alignright"><?php next_comments_link() ?></div>
    </div>
    <?php else : // this is displayed if there are no comments so far ?>

    <?php if ( comments_open() ) : ?>
    <!-- If comments are open, but there are no comments. -->

    <?php else : // comments are closed ?>
    <!-- If comments are closed. -->
    <p class="nocomments"><?php _e('Comentários Fechados.'); ?></p>

    <?php endif; ?>
    <?php endif; ?>

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

    <div id="respond">

    <h5 class="<?php the_category_unlinked(''); ?>"><?php comment_form_title( __('Escrever um comentário'), __('Responder para %s') ); ?></h5><p><small>*Campos obrigatórios</small></p>
    </br>
    <div id="cancel-comment-reply">
    <small"><?php cancel_comment_reply_link() ?></small>
    </div>

    <?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?>
    <p><?php printf(__('You must be logged in to post a comment.'), wp_login_url( get_permalink() )); ?></p>
    <?php else : ?>

    <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">

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

    <p class="textocinza">
    <?php printf(__('Logado como %2$s.'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?>
    " class="linkcinza">[Sair]
    </p>

    <?php else : ?>
    <p class="textocinza"><small>Usamos o sistema <i>Gravatar</i> para reconhecimento de avatares (fotos nos comentários).</small></p>
    <p class="<?php the_category_unlinked(''); ?>"><input type="text" name="author" id="author" value="<?php echo esc_attr($comment_author); ?>" size="40" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> /><label for="author"><?php if ($req); ?> <small>Nome*</small></label></p>

    <p class="<?php the_category_unlinked(''); ?>"><input type="text" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="40" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> /><label for="email"><?php if ($req); ?> <small>E-mail (não será publicado)*</small></label>
    </p>

    <p class="<?php the_category_unlinked(''); ?>">
    <input type="text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="40" tabindex="3" /><label for="url"> <small>Site</small></label>
    </p>

    <?php endif; ?>
    <p><textarea name="comment" id="comment" cols="40" rows="5" tabindex="4"></textarea></p>

    <p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Comentar'); ?>" />
    <?php comment_id_fields(); ?>
    </p>
    <?php do_action('comment_form', $post->ID); ?>

    </form>

    <?php endif; // If registration required and not logged in ?>
    </div>

    <?php endif; // if you delete this the sky will fall on your head ?>
    [\code]

    Enviado 7 meses atrás #

RSS feed deste tópico

Responder

Você deve estar logado para enviar uma mensagem.