In the comments of 48 Unique Ways to Use WordPress, Michael Zebold asked about #47, using WordPress to build a web directory. There are actually a few ways to use WordPress to build a web directory, and I’ll look at two. Please note that I’m only providing a light treatment; I’ve linked to a few articles if you want to learn more.
Using a WordPress Plugin
Earlier in the comments of “48 Unique Ways”, commenter Sofimi pointed out the Link Directory Plugin. (The link in the comments redirects to a page on Alec Tang’s site, so I’ve used that link instead.) This is one of two wordpress directory plugins that showed up numerous times in a Google search. (The rest of the results were articles pointing to either of the two plugins.)
Besides Alec Tang’s WP-LD (WP Link Directory) plugin, there’s also the WP-Directory plugin from Linksback.org. Neither one works in WP 2.3.2 (which is the only version I had time to test), but comments on various articles seem to indicate that both of them work (with earlier versions of WP).
The two plugins behave and display differently. If you’re interested in trying out the WP-LD plugin you may want to read Sizlopedia’s article, which expands a bit on the installation instructions. This plugin is a bit more complex than the Linksback.org’s WP-D plugin, and the web directory will reside in a subdirectory of your blog called “directory/”. (For the WP-D plugin, the directory resides on your home page.)
The result of the WP-LD plugin is more of a “link exchange” (for reciprocal linking) than a web directory, and has features that will help ensure that submitters are linking back to you. If they are not, the plugin will report their link to you.
Using a Gallery Theme
The above two plugins produce lists of links. If you’d rather take a visual approach to a web directory, so that you can include screen snapshots (and thumbnails), consider using a gallery. In my 48 Unique Ways article, I linked to two WordPress themes available at WP Designer and OS Designer that mimic CSS gallery sites.
The OS Designer theme is free but has less features than the WP Designer theme. I’ve been fiddling around with the former and it shows a lot of potential for multiple uses (which I’ll be discussing here in the near future). For example, you can co-opt it for use as a web directory.
Some things to consider about the OS Designer theme:
- To allow visitors to submit links, there is a suggested “form” plugin to use. You need to create a WordPress “page” that displays the submission form – which can include directory categories if you want. (Or you could skip this and add links yourself.)
- Each listing is added manually. Even if you allow visitors to submit links, if you plan to validate each link, this shouldn’t be a big deal.
- There is no automation for adding the screenshot (and thumbnail) for each listing. So when you’re validating a site link, you can take a snapshot – either using a browser plugin (such as Fireshot for Firefox) or desktop software such as Techsmith Snagit (trial available).
- The screenshot and thumbnail images appear thanks to WordPress custom fields for each listing. The way the code is written, it appears allows for images to be hosted elsewhere (such as Flickr), though I haven’t tested this to confirm it.
- Each directory listing has its own permalink page, which is essentially a WP blog page. However, out of the box, an item’s listing page does not show any “blog” content that you might type in. To display such content, you need to tweak the “single post” template file (single.php). Just add the following code below the screen snapshot code in single.php (without the double quotes):
""
You can see an example of the result by checking any listing at CSS Social. (Click on the name of the listing, not the thumbnail image, to get the internal listing page.) The text appears after the screenshot and before the five stars of the ranking gizmo.
- The theme uses a “post rating” plugin that allows visitors to rank an item. I’ve used five stars at CSS Social. (CSS Social was originally using a different code platform – possibly Pligg – but due to hosting problems, it lost all its PR and traffic. So I’m reviving it with WordPress on a new host. It was originally a CSS gallery that allowed visitors to vote on listings. I’m keeping that aspect, though most web directories probably don’t offer a voting feature.) If you don’t want voting, don’t install the “post rating” plugin.
- The theme is not configurable. There are two columns on the home page. If you want configurability, consider buying WP Designer’s gallery theme.
- Rearranging the way the listings/ categories appear requires custom coding. One possible tweak you might consider is to order listings from most to least votes.
- The theme does show categories but does not currently give a count of the number of listings in each. You can modify this with a code tweak.
I will be tweaking OS Designer’s theme to build several different types of sites running on WordPress. When I have template file variations completed and tested, I’ll make them available (or provide instructions as I’ve done above).
Summary
If you do decide to build a web directory, whether or not you use WordPress, just keep in mind that last year, there was talk of Google applying a “thin content” penalty. A number of high-PR web directories lost PageRank, and the common buzz seemed to be that Google deems the average directory to be a link farm (especially if you require all submitters to give your directory a reciprocal link).
I haven’t done enough research to talk about this so called “thin content penalty” with any authority, but that reason seems to make sense. So for safety, I prefer using a gallery setup for a web directory, where I can add a screen snapshot and a synopsis of the site. That’s a bit more content than just a link, a site name, and the typical sentence or so about the site.