NOOBSBOARD.COM Forum Index
 FAQ   Search   Memberlist   Usergroups   Register   Profile   Log in to check your private messages   Log in 

Change the Anchor Text of your Permalinks in Wordpress

 
Post new topic   Reply to topic    NOOBSBOARD.COM Forum Index -> RSS & Blogs
View previous topic :: View next topic  
Author Message
2HousePlague
I AM THE BRIDGE -- @


Joined: 28 Jun 2005
Posts: 471
Location: san.francisco

PostPosted: Tue May 30, 2006 3:20 pm    Post subject: Change the Anchor Text of your Permalinks in Wordpress Reply with quote

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.
_________________
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NOOBSBOARD.COM Forum Index -> RSS & Blogs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Proton Cannon