Make titles clickable in wordpress.
Quick tip for you and so I remember. If you have a cool theme but on the single posts the title is not clickable then go to this in the single post theme code:
<h2><a href=”<?php the_permalink(); ?>”><?php the_title(); ?></h2>
<h2><?php the_title(); ?></h2>
Works for single posts and may give an internal link boost. Who knows, we will see.
EDIT: Please read the comments below as some themes require the code to be closed off with a </a> at the end of the above snippet. Or, overlook my stupidity and lack of anything technical and simply add this new improved code line instead:
<h2><a href=”<?php the_permalink(); ?>”><?php the_title(); ?></h2></a>
And if that is not right then I don’t wanna hear about it, OK 😉 Man, I was just trying to help you guys out.
I will report back if it makes a difference SEO styley to a site. Do you think it will improve a site? I have a real mixture of blogs where some have a clickable post title which therefore is giving a link from the post to the post. Others just have the title with no link included. Never really thought about it before. If you don’t get the feed then you probably won’t even know this post exists as I am knocking it back to not be the home page post at the moment.
Any experiences would be appreciated.