Top

Revolution 2 Theme: H1 Permalinks

January 30, 2008

I’ve been using version 2 of the Revolution theme (link in my page footer) on a couple of new sites and spotted an issue. When viewing archives the heading of the individual posts is not acting as a permalink to that post - not an issue in version 1 by the way.

Because I’m no wordpress expert it took me some time to find the solution in the Revolution support forum. The solution is to edit the archive.php page and replace the line referring to <h1> with this:

<h1><a href=”<?php the_permalink() ?>” rel=”bookmark”><?php the_title(); ?></a></h1>

I’m finding that copy & paste of php code into wordpress doesn’t always work correctly - anyone know why that is? I suspect some truncation is occuring.

As always, test your changes!

Comments

Got something to say?





Bottom