How do I hyperlink the titles in blog entries? I am using WP and I have a custom theme. Obviously it must be somewhere in the Theme Editor. I am not sure where I do this and what code I need to add in. If anyone could please tell me I would greatly appreciate it.
Put the following code in the loop. <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a> Code (markup):
Thanks once again, mizaks! But I have a new problem now... I can't get the title font size back to how it was before. The designer who sold me this template used a lot of style code in it. Here is the full code I have for it since adding your new code: <div align="left" style=" background-color:#ffefff; height:22px; vertical-align:middle;" class="td1" id="post-<?php the_ID(); ?>"> <a class="a2" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a> </div> Code (markup):
Thanks mizaks. Could you show me exactly where in the code I showed you, that I would put it? Because I have tried that and it isn't changing it. I also tried creating a new "a4" style class in Stylesheet and that doesn't work.