Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Jackie

    (@jackiebm57)

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

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

    Thread Starter Jackie

    (@jackiebm57)

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

    Anonymous User 5746546

    (@anonymized-5746546)

    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?

    Anonymous User 5746546

    (@anonymized-5746546)

    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 } ?>
    Anonymous User 5746546

    (@anonymized-5746546)

    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'); ?>.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Trackback URL not showing’ is closed to new replies.