Go Premium for a chance to win a PS4. Enter to Win


wordpress make future posts public

Posted on 2014-10-17
Medium Priority
Last Modified: 2014-10-23
I send out a weekly email that has links to articles on our website.  I'd like to set these articles to show one-per-day on our website, but allow the email subscribers a direct link to the articles. My problem is that when I set the date in the future, the article isn't available unless someone is logged in as an admin.  I'd also like the post to hit our RSS feed daily and not all the same day.

I've searched for plugins or code hacks, but can't find anything to do this.

Any suggestions are most appreciated.


Question by:stkoontz
1 Comment
LVL 70

Accepted Solution

Jason C. Levine earned 2000 total points
ID: 40387266
y problem is that when I set the date in the future, the article isn't available unless someone is logged in as an admin.

The solution is to not use the scheduler, which hooks into core WordPress assumptions about visibility.

The better solution would be to use a custom fields that suppresses display of the post on the site until the posted date comes around but you still set the status of the post to publish.  A second custom field could be used to store an access code that you embed in the link in the email to allow direct inbounds to see it (e.g. www.yoursite.com/hidden-post/?look=atme).

The above is just a fast reaction.  I'm sure there's an even simpler way to do it. Perhaps code that checks post against referrer and query string before it will display?  If there is no referrer and the query string is present, display it.  If not, refuse until X date passes.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

WordPress is constantly evolving, and with each evolution appears to get better and better.  One of the big drawbacks prior to version 3 was that there was no way to be able to set up a custom menu from the backend. The Old Way Adding menus is…
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question