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”))
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”
- The topic ‘[Plugin: Display Future Posts] Linking to post’ is closed to new replies.