A Quick Tip For WordPress Theme Authors

nobrainer nailed me a couple of days ago for not having auto-discoverable feeds on my site. The process for adding them to your WordPress is a rather simple one.
Add the following code to your document’s <head> section (usually header.php in WP themes):







This will alert RSS/Atom-aware browsers of the presence of your RSS, RSS2 and Atom (0.3) feeds. The last portion of the code will alert pingback-aware blogging apps of the pingback URL on each of your pages/posts so that authors linking to your content will automatically be able to generate pingbacks.
Hope this helps a few others out of the sandtrap I found myself in.

Default image
Doug
Husband & father with youngins; Presbyterian; Will devops for boardgames; Dadjoke Enthusiast; Longtime WordPress user; The failure mode of “clever” is...