• I am trying to display the trackback link so that it shows inside my post. I have trackbacks enabled within the options discussion section of WordPress but don’t find how you actually show the link itself for others to use within the post.

    I found this section of code within my comments.php file within the theme directory of the theme I use. Is there anything I must do within the comments.php file to make the trackback link showup within each post.

    Thanks for your help in advance.

    Here is my blog: http://www.myebayadventure.com

    <p class=”commentsfeed”>
    <?php if ($post->ping_status == “open”) { ?>
    <span class=”trackback”>“>Trackback URI</span> |
    <?php } ?>
    <?php if ($post-> comment_status == “open”) {?>
    <span class=”feed”><?php comments_rss_link(‘Comments RSS’); ?></span>
    <?php }; ?>
    </p>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Doesn’t seem like you need to make any changes, you already have the code in your theme.

    But, do you have the “pings” enabled on the post? That code you have will only display the trackback link when you have pings enabled for that post.

    On the upper right hand side of the Write page, there’s an “Allow Comments” and “Allow Pings”. Turn on Allow Pings to allow both pingbacks and trackbacks.

    The default setting can be found in the options pages. If you have it off, then that “Allow Pings” checkbox will default to off.

    Thread Starter mark41157

    (@mark41157)

    Thanks for your answer. I just checked on yes both those check marks are checked for “allow comments and allow pings”.

    I guess I’ll email the author of the theme.

    Thanks again

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Displaying trackback inside post’ is closed to new replies.