You're reading the category archive for Code

Getting Gravatars on your Single Posts in WordPress

Do you want to display gravatars on your single posts, just like we do here on Devlounge? Then you need a WordPress blog, access to your single.php file, and this quick tutorial to get it up there.

Rotating Header Images in PHP

So you’ve got your site all set up, but it looks a bit static. How about rotating a header image, or any image really, using PHP? It’s actually quite easy to implement and maintain, if you do it right. Kevin shows how in this PHP tutorial.

Related Entries in Movable Type

Displaying related entries when reading a post is a good way to get the reader to dig deeper into your blog or site. Usually, you’ll do this by installing a plugin, but in Movable Type it’s actually possible without one, as this tutorial shows.

Roll Your Own FriendFeed with Movable Type

Impressed with FriendFeed, and want to do it on your own? You can, with Movable Type and a plugin, and this tutorial will tell you how. Feed your friends, your style.

Multiple Languages on any Page Dynamically

Have you ever thought of adding multiple languages to your website or have done so using methods such as creating separate directories for a completely new website with only that one language? It is easily possible through PHP.

Anatomy of a Movable Type Template

Billy Mabray dives deeper into the fine art of Movable Type templating, by showing us what makes up the actual template. Now we’re getting somewhere, this is your natural second step in the world of Movable Type.

Typos Killing Your Code?

One of the most frustrating things that programmers have to deal with is typos. If you forget something regarding syntax or accidentally misspell a variable name, your program can start doing weird and wonderful things or spitting out errors that are less than helpful.

A friend of mine Jonathan Snook recently wrote about this on his blog.

An Introduction to Movable Type Templates

Want to give Movable Type a shot, now that there’s an open source version and everything? Then this introduction to Movable Type templates is essential, and also a great start for more MT coverage here at Devlounge.

Mashing Up Feeds Using Yahoo Pipes

Yahoo Pipes lets you mashup your RSS feeds into one. That can come in handy if you want to display the latest from a bunch of blogs on your own site. This is how you do it, Pipe style.

Permalink Issues When Moving from Typepad to WordPress

So, you have finally decided to take the plunge and move from Typepad, a hosted service, to WordPress’ self-hosted solution, but you don’t want to lose your permalinks that everyone has linked to?

See, when you export from Typepad it doesn’t keep your post slugs intact, so WordPress generates some of its own, based on the title of the post. This means the URL you had before is no longer correct. Firstly, Typepad added a .html on all of your post related links. WordPress doesn’t do this by default.