Title: Get preview link programmatically
Last modified: August 21, 2016

---

# Get preview link programmatically

 *  [jhkerschner](https://wordpress.org/support/users/jhkerschner/)
 * (@jhkerschner)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/get-preview-link-programmatically/)
 * Hello, I’m wondering if there is a way that I can get the preview link programmatically
   to use on my site. Basically what I have is a post that is related to others.
   While viewing a post, you will be able to see the other related posts. I would
   like to have the preview links there so people viewing can easily get between
   the posts.
 * Thanks
 * [https://wordpress.org/plugins/public-post-preview/](https://wordpress.org/plugins/public-post-preview/)

The topic ‘Get preview link programmatically’ is closed to new replies.

 * ![](https://ps.w.org/public-post-preview/assets/icon-256x256.jpg?rev=3190626)
 * [Public Post Preview](https://wordpress.org/plugins/public-post-preview/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/public-post-preview/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/public-post-preview/)
 * [Active Topics](https://wordpress.org/support/plugin/public-post-preview/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/public-post-preview/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/public-post-preview/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [jhkerschner](https://wordpress.org/support/users/jhkerschner/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/get-preview-link-programmatically/)
 * Status: not resolved