Stop Title Being Hyperlink?
-
Hi!
In index.php I retrieve my post title into a table like below. I am very pleased with the table layout.I then try to format the actual title text (in style.css) to remain a hyperlink, but to have the same text colour as the rest of the text.
But I just can’t get it to work, although I know it is possible. The text remains purple (visited link) whatever I do! Please, can you help? What classes should I format, and how?
I thought that the post_title:link etc would work..?
Johannafrom index.php:
<!–Populate the Post Title –>
<table border=”0″ cellspacing=”0″ cellpadding=”0″ width=”98%”>
<tr><td colspan=”3″ class=”post_title_date”> <?php the_time(_t(‘l jS F, Y’)) ?></td> </tr>
<tr> <td class=”post_left_title_ico”> </td>
<td class=”post_title”>
<a class=”post_title_text”
href=”<?php the_permalink() ?>”
rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”>
<?php the_title();?></td>
<td class=”post_right_title_ico”> </td>
</tr>
</table>
====================================
The topic ‘Stop Title Being Hyperlink?’ is closed to new replies.