WordPress.org

Forums

Trackback URL listed (5 posts)

  1. sremington
    Member
    Posted 9 years ago #

    There are some people who aren't so suave when it comes to getting the trackback URL from my posts. Is there a way to display the actual url on the comments page or on the permalink page??

  2. Kafkaesqui

    Posted 9 years ago #

    If you look at your theme's template which displays the Trackback URL link, you'll find something similar to this:

    <a href="<?php trackback_url(); ?>">Trackback URL</a>

    Just edit the template to display the URL outside of an anchor tag:

    Trackback URL: <?php trackback_url(); ?>

  3. sremington
    Member
    Posted 9 years ago #

    Sorry I don't understand. But thanks...

    I am using the gila theme, maybe you could tell me what file to edit and where I could put the code. Thanks :-)

  4. Kafkaesqui

    Posted 9 years ago #

    Looking at Gila...you'll want to edit single.php. There are two lines related to Trackbacks. Just before each, you'll find the comments:

    // Both Comments and Pings are open

    and

    // Only Pings are Open

    Edit the lines right after each of these comments. You may need to perform some layout changes, since the design is aimed towards providing Trackbacks as links.

  5. sremington
    Member
    Posted 9 years ago #

    Hey that worked perfect!! Thanks for the help!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags