Quantcast

Development on a Shoestring

Trackbacks Template WordPress Plugin

This plugin adds a template tag ‘trackback_template()’ that displays the list of trackbacks/pingbacks that a post or page has received.  By default it renders them as an unordered list inside a div with the id "trackbackslist" with a h3 heading "Trackbacks" above the list. The text snippet of the trackback is displayed in a paragraph tag above the link.  Alternatively if you’re comfortable with editing HTML & PHP you can add a file called trackbacks.php into your template folder and the plugin will use that to style this list. 

Installation

Download the plugin (see link above) & extract the zip file into your plugins folder.  Then activate it from the plugins page in WordPress admin.  That’s it.  There is no admin page for this plugin, it’s really that simple.

Modifying the template

As mentioned above, the plugin will render the trackbacks by default as a list, but you can change this to do whatever you want. This is contained in a file called ‘trackbacks.php’ in the plugin folder, which you can copy into your template folder to use as a starting point for styling your own list.  The trackbacks are contained in a variable called $trackbacks which is an array of comment objects.

8 Responses for "Trackbacks Template WordPress Plugin"

  1. Wicks Picks | The Personal Website of N. Todd Wickersty » Blog Archive » My WordPress Plugin Picks Wicks Picks | The Personal Website of N. Todd Wickersty » Blog Archive » My WordPress Plugin Picks September 17th, 2008 at 1:37 am 1

    [...] the Disqus plugin doesn’t display WordPress trackbacks. So until it does, try the Trackbacks Template plugin, which will display your [...]

  2. wordpress wordpress October 3rd, 2008 at 3:56 am 2

    wordpress…

    My blog is running on WP too. I really like this… updates keep the system secure, free themes give lots of nice designs and the look and feel of WP is just great! I love it!…

  3. Trackbacks Template WordPress Plugin – WP Plugin Archive Trackbacks Template WordPress Plugin - WP Plugin Archive October 29th, 2008 at 8:21 pm 3

    [...] Trackbacks Template WordPress Plugin von Glenn Slaven fügt dem Blog einen neuen Template Tag “trackback_template()” [...]

  4. Savoir gérer les trackbacks et les pings Savoir gérer les trackbacks et les pings November 30th, 2008 at 10:04 am 4

    [...] Ping et modérer les trackbacks. Pour l’affichage, on peut utiliser un plugin qui crée un template_tag pour trackback à insérer dans le template wordpress, ou utiliser le plugin Nicer trackback qui supprime les [...]

  5. Busby SEO Test Busby SEO Test December 9th, 2008 at 9:02 pm 5

    I found an article to separate trackback and comment without plugins. I think I found it in wp codex, I think it will help us reduce CPU resource

  6. NASCAR – Stock Car Racing NASCAR - Stock Car Racing January 27th, 2009 at 4:04 am 6

    NASCAR – Stock Car Racing…

    NASCAR is a storied sport with fast races, speedy vehicles and fantastic fans. But it’s the drivers who sell NASCAR tickets as they chisel their careers race by race. Most drivers never taste victory, and smaller number still enjoy the success of a C…

  7. BFS BFS March 23rd, 2009 at 4:19 am 7

    WP 2.7, defaut template. Installed plugin according to directions and added the 'trackback_template()' tag to single.php directly above the comments template. Getting the following error:

    PHP Fatal error: Call to undefined function: trackback_template() in /var/www/html/wp-content/themes/default/single.php

    I guess the obvious question is whether this plugin is compatible with 2.7?

    Thanks

  8. Bob Bob March 23rd, 2009 at 4:50 am 8

    The README does not show the correct tag to add to your templates. It specifies `trackback_template()`, but it should say `trackbacks_template()`

    Thanks


Leave a reply


Subscribe by email

Enter your email address:

Delivered by FeedBurner

Verse of the Day

But let all who take refuge in you rejoice; let them ever sing for joy, and spread your protection over them, that those who love your name may exult in you. For you bless the righteous, O LORD; you cover him with favor as with a shield. (Psalm 5:11-12, ESV)