If you are using the Blog Extensions plug-in for Graffiti you may start seeing comments on your site that are not being published. This is likely because the theme you choose did not support showing trackbacks by default since they weren’t part of the core GraffitiCMS app. Kudo’s goes to Jeff, who did an outstanding job explaining how to enable all of the cool functionality of the blog extensions here. This post will borrow from that to show you how to enable trackbacks/pingbacks showing in a theme that did not support them.
- Log into your control panel as an admin.
- Go to the theme customization with Presentation > Themes > Personalize on your current theme.
- Click on the post.view file to open it.
- I recommend saving your existing copying the current post.view content into a new next file as a back-up at this point.
- Insert the following code where you want trackbacks to appear and save. NOTE: I’m using the Skittlish theme so your CSS mileage may vary. The basic concept would be to borrow as much as you can from your theme’s comment section.
<!–Loop through trackbacks –>
#foreach($trackback in $trackbacks)
<!–denote as a comment list with your CSS and title –>
<h3 class="content">Trackbacks </h3>
<li class="comment by-guest">
<!–Insert Trackback Title & Link –>
<a href="$trackback.WebSite" title="$trackback.Name">$trackback.Name</a></strong><br>
<!– insert date/time posted –>
<em>Posted on $trackback.Published.ToString("M.dd.yyyy") at $trackback.Published.ToString("h:mm tt")</em>
<!– Insert trackback body –>
<!– Insert check to see if you have rights to delete trackback –>
#end <!– end loop –>
Of, if you like the way my site looks, you can download my theme here: SkittlishTrackbacks.zip