Posted By

LuckyShot on 02/25/10


Tagged

php wordpress permalink


Versions (?)

Print the permanent URL of a post based on the ID


 / Published in: PHP
 

URL: http://www.xaviesteve.com/blog

Where 123 is the post/page ID.

  1. echo get_permalink(123);

Report this snippet  

You need to login to post a comment.