Solved

wordpress make future posts public

Posted on 2014-10-17
1
129 Views
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.

Thanks,

Steve
0
Comment
Question by:stkoontz
1 Comment
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 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.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

How to install BuddyPress on your self-hosted WordPress site It’s been called everything from “social networking in a box” to “Facebook without the terms of service,” but until Feb. 16, BuddyPress was a relatively unknown outside the WordPress MU…
I want to start by talking about the use of plug-ins for WordPress. I started a web-site for a company I was working for a few years ago; I had extremely basic knowledge of HTML. I am a Graphic Designer by trade so I invited the opportunity as a cha…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to Import and export files in WordPress. 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 : Click on Too…

680 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