Show Pingbacks & Trackbacks Before WP List Comments Template

This post includes code which works in any theme and displays pingbacks and trackbacks using both the short_pings parameter set to true and the standard display.

I’ll include 2 blocks of code which display pingbacks and trackbacks before the native WordPress comments template and before the DISQUS comments system if installed.

I have included CSS classes which are tested on the Twenty Fourteen default theme for WordPress and Genesis.

1. Standard Pingback & Trackback Display

twenty fourteen pingbacks

Here’s the PHP code you can add to your functions file:

2. Short Pingback & Trackback Display – Genesis

Pingback and Trackback genesis

Here’s the PHP code you can add to your functions file:

Note: Don’t forget to check the native WordPress discussion settings or any theme specific settings like which Genesis includes for pingbacks and trackbacks.

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.