Unlimited<br /> Autoresponders by AWeber

Posts Tagged ‘Forum’

Trackbacks And Time Wasted

Visual breakdown of the parts of a HTML element.Image via Wikipedia

Today I lost over two hours worth of my precious working time trying to figure out why my trackback links were not showing up at anywhere in my posts.

I looked all around my Wordpress dashboard, I went to the Wordpress forums, I searched google, but no luck (well at least not at first). I found lots of information on trackbacks themselves … what are they, how do they work, how do they benefit you etc…, but nothing on how to get them to show up.

In your dashboard uder settings and discussion you just need to tick the box next to ‘Allow link notifications from other blogs (pingbacks and trackbacks.)’ and you should be set to go, but this did not work for me.

Finally someone responded to me on the Wordpress forum and asked me if a small piece of code was in my single.php. I looked and sure enough it was not there …….. aaaagggghhhh.

I added the snippet of code to my single.php where I wanted my trackback link to show, uploaded it and it worked first time. I was relieved, but frustrated at the amount of time it had taken me to fix it.

The theme I am using is from someone who has created over 50 themes, so I presumed his would be good and I liked the layout etc… I have not looked at his other themes in too much detail, but as I go through this one making my tweaks I notice more and more simple errors like having the closing </body> and </html> codes before the footer is called. This is bad news for people who have no knowledge of php at all, it looks more like mumbo jumbo that html, as they would find it much harder to add the code, let alone know where to add it.

I will ensure that all my themes and compliant with the necessary standards and are marked for people to be able to change things should they need/want to.

In case this is also a problem for you and your trackbacks are not showing in your theme, you need to add the following piece of code to your single.php where you want the trackback url to show up …

<a href=”<?php trackback_url(); ?>” rel=”trackback”>Trackback</a>

If for some reason you do not have a single.php please refer to the tutorial on ‘How To Create Missing Files For Your Wordpress Theme‘.