Title: use get_permalink function
Last modified: August 19, 2016

---

# use get_permalink function

 *  [ranacseruet](https://wordpress.org/support/users/ranacseruet/)
 * (@ranacseruet)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/use-get_permalink-function/)
 * hi,
    I am manually making a page in wordpress. there I need to get the permalink
   for a post. I am not using global $post variable. I have the $post->ID data. 
   How to achieve the permalink?
 *  I tried using get_permalink($post->ID), its not working. What else I can do?
 * Regards

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * (@shane-g-1)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/use-get_permalink-function/#post-1329627)
 * Hi,
 * Check with this plugin:
 * [http://codex.wordpress.org/Template_Tags/get_permalink#Examples](http://codex.wordpress.org/Template_Tags/get_permalink#Examples)
 * Thanks,
 * Shane G.
 *  Thread Starter [ranacseruet](https://wordpress.org/support/users/ranacseruet/)
 * (@ranacseruet)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/use-get_permalink-function/#post-1329920)
 * Thanks for your reponse. It helped me a lot..
 * ———————–
    [**signature moderated** Please read the [Forum Rules](http://wordpress.org/support/topic/68664?replies=6)]

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘use get_permalink function’ is closed to new replies.

## Tags

 * [get_permalink](https://wordpress.org/support/topic-tag/get_permalink/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [ranacseruet](https://wordpress.org/support/users/ranacseruet/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/use-get_permalink-function/#post-1329920)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
