2HousePlague I AM THE BRIDGE -- @

Joined: 28 Jun 2005 Posts: 471 Location: san.francisco
|
Posted: Tue May 30, 2006 3:20 pm Post subject: Change the Anchor Text of your Permalinks in Wordpress |
|
|
Different wp tempates will create the permalink in different ways. Typically, the anchor text will be "permalink", which is kinda useless. If ya play with this part of the code (usually in the index.php template), you can change the anchor to something more useful, either the same word for all posts:
| Code: |
<span class="pside">permalink: </span> <a href="<?php the_permalink(); ?>">[color=red]ANCHOR[/color]</a><br /> |
Or the name of the post:
| Code: | | <span class="pside">permalink: </span> <a href="<?php the_permalink(); ?>">[color=red]<?php the_title(); ?>[/color]</a><br /> |
The CSS tag for the treatment of the text in the title (in this case "pside"), may be called something else in your template. _________________
 |
|