WordPress.org

Ready to get started?Download WordPress

Forums

Trackback URL not showing (6 posts)

  1. Jackie
    Member
    Posted 4 years ago #

    I am a newbie at this so please bear with me.

    I have my trackback turned on but I do not see a trackback url on my posts...how can someone that wants to trackback to my post locate my trackback URL?

    http://jackiebiz.com/2009/11/03/7-steps-to-put-an-end-to-business-mediocrity/

  2. Jackie
    Member
    Posted 4 years ago #

    any help...my trackback URL is not showing anywhere in my posts?

    How can i test if my trackback and pings are working?

  3. Jackie
    Member
    Posted 4 years ago #

    I am sure someone knows the answer to this question...please help!

  4. L D
    Member
    Posted 4 years ago #

    Hello, have you figured it out yet? I too am interested to know... so far, my forum searching isn't turning up a lot though I read somewhere that the post URL is the trackback URL... I think?

  5. L D
    Member
    Posted 4 years ago #

    I figured it out. You need to make some code edits to your template. Apparently, I had deleted the code from my custom template. This is what you need to add:

    <?php if ( comments_open() && pings_open() ) {
    	// Both Comments and Pings are open ?>
    	You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
    <?php } elseif ( !comments_open() && pings_open() ) {
    	// Only Pings are Open ?>
    	Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
    <?php } elseif ( comments_open() && !pings_open() ) {
    	// Comments are open, Pings are not ?>
    	You can skip to the end and leave a response. Pinging is currently not allowed.
    <?php } elseif ( !comments_open() && !pings_open() ) {
    	// Neither Comments, nor Pings are open ?>
    	Both comments and pings are currently closed.
    <?php } ?>
  6. L D
    Member
    Posted 4 years ago #

    I should mention that you are recommended to add it after the meta stuff in single.php and page.php.

    So, add it after:

    This post was published on <abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><a href="<?php echo get_day_link("$arc_year", "$arc_month", "$arc_day"); ?>"><?php the_time('F j, Y'); ?> at <?php the_time('g:i a'); ?></a></abbr>
    					under <?php the_category(', '); ?> and was last modified on <?php the_modified_date('F j, Y'); ?> at <?php the_modified_date('g:i a'); ?>.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.