Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

wordpress make future posts public

Posted on 2014-10-17
1
125 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Like there are many different versions of Wordpress, there are also a handful of related side projects WordPress users should be familiar with.   All of these projects are open source and GPL licensed, which means there are few restrictions to us…
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…
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…

840 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