Title: [Plugin: Display Future Posts] Linking to post
Last modified: August 19, 2016

---

# [Plugin: Display Future Posts] Linking to post

 *  [balbert](https://wordpress.org/support/users/balbert/)
 * (@balbert)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-display-future-posts-linking-to-post/)
 * I was able to edit the plugin to add the link, but it doesn’t always work. Sometimes
   I get a 404 error and other times it works.
 * Is it even possible to display a future post to users of the blog if they have
   the url?
 * here is what I changed…
    DB query, added to return the guid or url
 * $wpdb->get_results(“SELECT ID, post_title, post_date_gmt, guid FROM $wpdb->posts
   WHERE post_status = ‘future’ AND post_date_gmt > ‘$fb_date_today’ ORDER BY post_date
   ASC”))
 * then…
    `echo '<li><a href="'. $post->guid .'">' . $post->post_title .'</a></li
   >';`
 * I think this might be a permissions thing were wp won’t show you a post that 
   isn’t “published”
 * [http://wordpress.org/extend/plugins/display-future-posts/](http://wordpress.org/extend/plugins/display-future-posts/)

The topic ‘[Plugin: Display Future Posts] Linking to post’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [balbert](https://wordpress.org/support/users/balbert/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-display-future-posts-linking-to-post/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
