Quick Tip: Add excerpts to search results page

If you’ve tried searching for a keyword on a WP site, you may have noticed that the search results don’t always include an excerpt of matching page(s). While you’re at it, have you tried the search function on your site? The missing excerpt is not WordPress’s fault, in reality the theme designer neglected or chose not to include that feature in the theme.

Here’s how to quickly add an excerpt to your search results page by hacking your theme. Important: make sure you have a copy of your original theme and/or backup the existing search.php page ready to restore in case you get in trouble. We’re not responsible if you muck up your site.

In WordPress admin, select Appearance -> Editor -> Search.php (screenshot below) Add the following tag after the end of the headline tag, usually </h2>:

<?php the_excerpt(); ?>

And hit “Save” and go try a search on your site!

the_excerpt_wordpress_code.jpg

Another tip, now that you’ve improved it with excerpts,  why not improve it further by trying Relevanssi plugin? Relevannsi will help bump up the quality of matching results. You’ll still need to  do a bit of work tagging your posts or pages but it’s worth it.

Where to find great free WordPress themes

A few weeks ago there was a WordPress community security scare because of possible malware in WordPress themes. So the general rule maybe to get them for trusted sources. But who’s a trusted source and which ones are legitately owned by the designers?

WPMU.org has a great article covering both issues along with a list of commerical WP theme development companies like WooThemes, Graph Paper Press, and others giving back to the WordPress community with free themes using their well developed core framework.

It’s a great article especially as I’ve never heard of a few of the groups including Theme Labs with over 100 free(!) themes. All in all, I can count around 100 free themes provided by for profit companies.

Read it: WPMU.org

DIY SEO: Scribe Plugin & Service

What’s the best way to get traffic? It’s the old adage, lots of hard work. Simply build the best and most relevant content on your WordPress site. The second best bet is to use a search engine optimization (plugin) for WordPress that will help you fill out the required fields to get a search engine to properly crawl your site.

The third step is to get some advice and research on the best practices and what relevant keywords to use. Usually hiring an “expert” is going to easily cost you hundreds of dollars. So for many of us, we’d resort first to the Do It Yourself model.

So we were excited when we heard the team that brought us StudioPress and the Genesis theme framework recently introduced Scribe, which is a self-service Search Engine Optimization (SEO) web app with a complementary WordPress plugin.

We were also fans of Brain Gardners’ earlier commercial WordPress offerings (the predecessors to StudioPress), so we had high hopes for Scribe. Was this anticipation well deserved?

First the numbers, Scribe starts at $17/month and includes up to 15 evaluations and 35 keyword searches. According to Scribe, it takes about 3-5 evaluations per web page to fully optimize it. Evaluations are every time you scan a web page.

Let’s get started. After signing up with a credit card on ScribeSEO.com, they’ll assign you an API key. The installation process is fairly straight forward, you’ll install their suppplied plugin and paste that API key into a field.

Next you’ll have to have install one of the many WordPress SEO plugins. The one that we like so far is All in One SEO pack. Scribe will detect available SEO plugins and adjust its status indicators for each post depending on which SEO plugin you’re using.

When you open an existing post, you’ll see 3 check box status in the right side widget area: Title Tag Ready, Meta Descriptions, and Content Ready. Think of these as check list to help you figure out where the page stands in terms of search engine readiness.

There’s also a widget called Scribe Link Building which won’t show any data until you scan / analyze the page.

This review will be on going so we can’t really answer whether or not it works but so far we like what we see. The only drawback so far is that there’s really little hand holding once you’re signed up. I hate to say it but you’re kind of your own to figure this out as we didn’t see any “Getting Started” tutorial.

The Welcome email gets you up to installing the API key and a link to the support pages but there definitely needs to be a little bit more TLC for new users.

Stay tuned as we optimize real world sites. One test case will be this site and another will be a biotech services web site. Let’s see if Scribe becomes an indispensable SEO tool or not.

Get it: Scribe

Cheat Sheet: Anatomy of a WordPress theme

If you’re learning how to create your own WordPress theme, check out this succinct but informative cheat sheet called “Anatomy of a WordPress Theme” over at Yoast.

While this is not a tutorial or a detailed how to, this will give you a big picture overview of how WordPress works.

The only thing we think it’s missing is it doesn’t talk about page templates.

W3 Total Cache: Tips

We’ve mentioned W3 Total Cache before as one of our favorites WP plugins and no doubt it has a ton of options. One of the most confusing things is the “preview” mode. Once you’ve setup the configuration including enabling and disabling modules, how does one get out of preview mode and “go live?” Not as intuitive as one would think…just click on the “disable” button in the preview module. After going live, make sure to clear all your cache files.

I wish the designers of W3TC did a better job of “going live” with a simple button rather than having to “disable” preview mode.

Also here’s a great in-depth guide to W3TC at Zemalf.com.