Forums

Trackback URL (11 posts)

  1. Katjo8
    Member
    Posted 5 years ago #

    Hi: I have the placed the code in my template to enable a Trackback URL after each post. However, what I would really like is for it to be a hyperlink instead of just the straight URL.

    How do I modify the code to make this happen?

  2. drewactual
    Member
    Posted 5 years ago #

    preceding URL text:

    your url here">

    after URL text

    is that what you are looking for?

  3. drewactual
    Member
    Posted 5 years ago #

    whoops, forgot these boards incorporate some codes----

    <a href="yoururlhere">

    your url in text

    </a>

  4. Katjo8
    Member
    Posted 5 years ago #

    Well...I guess I have no idea. What would I do with what you posted?

  5. Katjo8
    Member
    Posted 5 years ago #

    Can you tell me exactly where I should put that in the loop?

  6. drewactual
    Member
    Posted 5 years ago #

    you placed your URL in your theme, you want it as a link, right?

    the code is simple html... I was being partially silly by providing that, because I don't understand your question completely...

    I am thick like that sometimes :-)

  7. Katjo8
    Member
    Posted 5 years ago #

    OK - maybe I should back up. I placed this in my theme to allow a trackback URL to be available after each post:

    <p>Trackback URL for this post: <?php trackback_url(); ?></p>

    So now I have this appearing after each post:

    Trackback URL for this post: (and then the URL)

    What I really want is for it to say this:

    Trackback URL for this post (and have "URL" be a hyperlink to the post).

    Does this make sense?

  8. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    When in doubt, look at how the default theme does it and modify to your needs.

    Trackback <a href="<?php trackback_url(); ?>" rel="trackback">URL</a> for this post

  9. drewactual
    Member
    Posted 5 years ago #

    It does now... I gotcha.... I'm thinkin'... I think a little slow... give me a minute or two..............................or ten...

  10. drewactual
    Member
    Posted 5 years ago #

    Otto thinks much faster than me..... not hard to imagine...

  11. Katjo8
    Member
    Posted 5 years ago #

    Thanks much to you both! I'll remember that tip, Otto!

Topic Closed

This topic has been closed to new replies.

About this Topic