View Single Post
Old 09-17-2009, 07:52 PM  
Angry Jew Cat - Banned for Life
(felis madjewicus)
 
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
wordpress question: calling in the_permalink in post content?

Say I want a link within my content to link to

Code:
<?php the_permalink() ?>
before i know what my actual permalink is, say for template use. What is the proper way to link to the_permalink in my template? i tried a simple

Code:
<a href="<?php the_permalink() ?>">
sort of thing, but it doesn't really work. Any tips?
Angry Jew Cat - Banned for Life is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote