New answers tagged

0

Here is what I came up with. Seems to be working. If anyone has suggestions for improvement, I'm all ears: // Redirect links to future posts to Coming Soon page. add_action('wp','redirect_coming_soon_posts', 0); function redirect_coming_soon_posts(){ global $wpdb; if ($wpdb->last_result[0]->post_status == "future" && $wpdb->...



Top 50 recent answers are included