It’s been a while since I announced my first ‘Inline Pingback and Trackbacks’ plugin for Wordpress.
John Stansbury emailed me with a revision he made, which allows you to place IPAT in the sidebar of single pages, rather than underneath each individual post on the main page.
So, I am now announcing IPAT 1.0.1, which lets you do both, thanks to John.
Once you download the plugin, simply unzip it, upload it to your plugin folder, activate it, and put the appropriate line of code (shown below) in your template.
If you would like IPAT to show after each post on your main page, place the following line of code within the “loopâ€Â:
<?php ipat(); ?>
Make sure you place it in the loop where you would like the pingback and trackback links to appear.
You can also customize the code:
<?php ipat(’<br />’, 50, ‘<br />’); ?>
The first <br /> tag represents what you would like shown before the entry.
50 represents the maximum number of entries you would like shown.
The second <br /> tag represents what you would like shown after the entry.
————————————————–
If you would like IPAT to show in the sidebar of single pages, place the following line of code within the sidebar.php file:
<?php ipat_side(); ?>
Make sure you place it in the sidebar in the location where you want the pingback and trackback links to appear.
Here is the example John included in the comments of the plugin:
<?php if (is_single()) {; ?>
<div class=”inline_trackbacks”><?php ipat(’<strong>Other site discussions:</strong><br />’, 50, ‘<br />’); ?></div>
<?php } ?>
He even made sure to define the div classes so you can customize the look for your sidebar
.inline_trackbacks {
color: #606060;
font-size: 9px;
line-height: 11px;
}
.inline_trackbacks_display {
margin-bottom: -15px;
}
.inline_pingbacks_display {
margin-bottom: -15px;
}
————————————————–
Again, use this plugin at your own risk.







