Does anyone know how I make trackbacks (i.e., a "Trackback (2)" type link appear on the main page as opposed to when someone clicks the comment link? I assume I have to edit the index.php file, but I don't know what to put in it.
Does anyone know how I make trackbacks (i.e., a "Trackback (2)" type link appear on the main page as opposed to when someone clicks the comment link? I assume I have to edit the index.php file, but I don't know what to put in it.
i too would very much like a simple answer to this.
I do not think that such tag exists.
http://wiki.wordpress.org/index.php/TemplateTags#TrackBackx20.tags
that should help.
My issue is that this <?php comments_number('none', 'one', 'some', 'number'); ?>
does not render any links. it just says in plain text none, some or the number. I would like it to look something like comments (2) trackback (3)
I see these tags, but which will create the link to the trackbacks with the number, i.e. (not a real link) Trackbacks (5)? Or is it not possible?
Thank you senor taco, for asking my question the way I wanted it to actually come out :)
Comments, trackbacks, and pingbacks are all classified together as comments/feedback. comments_popup_link() links to them all. You can change the link text if you wish. For example, change this:
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
To this:
<?php comments_popup_link(__('Trackbacks (0)'), __('Trackbacks (1)'), __('Trackbacks (%)')); ?>
Didn't shelleyp do a hack for this - i.e. separating comments from trackbacks? I don't think she released it for 1.02 but I recall something about her making it available when 1.2 comes out.
That seems to have done what I wanted. I'm interested to hear if this hack comes out. Thanks for the help.
Ryan,
That just changes the label, not the content or where it is displayed.
Inline trackbacks was just the plugin I was looking for!
http://simplykimberly.com/archives/2005/02/26/wordpress-plugin-inline-trackbacks/
I rewrote my plugin and tweaked it a bit to distinguish between trackbacks and pingbacks.
Remove the ending 's' and save it as a .php file.
This topic has been closed to new replies.