WordPress.org

Ready to get started?Download WordPress

Forums

trackback_rdf() not working (6 posts)

  1. Erunafailaro
    Member
    Posted 6 years ago #

    Hello all!

    Inside my theme-templates (index.php and single.php), withing the loop, I'm using this tag to display the trackback-rdf:

    <!--
    <?php trackback_rdf(); ?>
    -->

    It seems, that the function trackback_rdf() does not produce any output. When I view my blog's HTML-source with my browser (firefox), the line where the rdf should appear is empty:

    <!--
    
    -->

    Trackbacks and pingbacks are enabled on my site. I'm using WP 2.2.

    I have no idea, why the rdf doesn't show up in my html-source. Who can help me :-) ?

  2. habakuk
    Member
    Posted 6 years ago #

    I have the same problem (with wordpress 2.2 on this site), did you or someone else find a solution?

    The trackback_rdf() produced no output in every theme I tried.

    Ciao!
    Stefan

  3. Sirthinks
    Member
    Posted 6 years ago #

    It is probably working just fine. It isn't supposed to return any information to readers, just to blogs etc....

    Read this article here

  4. Sirthinks
    Member
    Posted 6 years ago #

    To have your trackbacks show up on your posts use this (remove spaces)

    < ?php trackback_url(); ? >

  5. Erunafailaro
    Member
    Posted 6 years ago #

    I know the difference between trackback_url() and trackback_rdf(). The latter is not supposed to produce any visible output.

    It is supposed to produce output like the one shown in the article you mentioned. This rdf-snipped should be visible in the page's html-sourcecode. You can see the sourcecode on firefox, when you are watching a blog-post and then press STRG+U.

    The problem I have is that since WP 2.2 the trackback-rdf does not show up in the source anymore. In older versions, it did show up in the source.

  6. habakuk
    Member
    Posted 6 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic