Ready to get started?Download WordPress


Trackbacks Refuse to Show Up (2 posts)

  1. MuellerMR
    Posted 8 years ago #

    So I give up, I absolutely have no clue as to why I can't get trackbacks/pingbacks to show up on a clients site. Here is the comments.php code:

    <?php // Do not delete these lines

    if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))

    die ('Please do not load this page directly. Thanks!');

    if (!empty($post->post_password)) { // if there's a password

    if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie


    <p class="nocomments">This post is password protected. Enter the password to view comments.





    /* This variable is for alternating comment background */

    $oddcomment = 'alt';


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

    <div class="commentsheader"><h2>Discussion - <?php comments_number('No Responses', 'One Response', '% Responses' );?> </h2></div>

    <ol class="commentlist" id="commentlist">

    <?php if ($comments) : ?>

    <?php foreach ($comments as $comment) : ?>

    <li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">

    <div class="commentauthor"><?php comment_author_link() ?>

    <?php if ($comment->comment_approved == '0') : ?>

    Your comment is awaiting moderation.

    <?php endif; ?>


    <?php comment_text() ?>

    <?php /* Changes every other comment to a different class */

    if ('alt' == $oddcomment) $oddcomment = '';

    else $oddcomment = 'alt';


    <?php endforeach; /* end for each comment */ ?>

    <?php else : // this is displayed if there are no comments so far ?>

    <?php if ('open' == $post->comment_status) : ?>

    <!-- If comments are open, but there are no comments. -->

    <li id="hidelist" style="display:none">

    <?php else : // comments are closed ?>

    <!-- If comments are closed. -->

    <li style="display:none">

    Comments are closed.

    <?php endif; ?>

    <?php endif; ?>

    <?php if ('open' == $post->comment_status) : ?>

    <div id="loading" style="display: none;">Posting your comment.</div>

    <div id="errors"></div>

    <div class="addcomment"><h2>Add Your Comment</h2></div>

    <?php if ( get_option('comment_registration') && !$user_ID ) : ?>

    You must be /wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in to post a comment.

    <?php else : ?>

    Does anyone have any ideas? Supposedly the trackbacks are showing up in his database table, just not displaying.

    Thanks in advance.


  2. aprilcartergrant
    Posted 8 years ago #

    I am having the same problem... trackbacks are in the database, but not displaying. ???

Topic Closed

This topic has been closed to new replies.

About this Topic