Forum Replies Created

Viewing 1 replies (of 1 total)
  • I wanted the trackback URI to print at the top of each of my posts. Here’s what I did.

    In your index.php file toward the top you’ll see code that looks something like this:

    <div class=”meta”> by <span class=”storyAuthor”><?php the_author() ?> </span> @ <?php the_time() ?>.<?php edit_post_link(); ?>
    Filed under <?php the_category(‘, ‘) ?>

    This is the code that prints your name and so forth at the top. I merely added the following:

    <br>Trackback URL: <i><?php trackback_url()?></i>

    right after it.

    I had to figure this out, but the code is pretty clean and straightforward (and the code I pasted in may be slightly different for you–some depends on the theme you’re using). The php function trackback_url() prints the trackback URL. All you have to do is call the function within the loop.

Viewing 1 replies (of 1 total)