Solved

wordpress make future posts public

Posted on 2014-10-17
1
141 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
[X]
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
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

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…
In Part I (http://www.experts-exchange.com/Web_Development/Blogs/WordPress/A_8410-Getting-Started-In-WordPress-Part-I.html), I introduced you to the powerful WordPress backend, the WordPress administrative Dashboard.  In Part II, I will introduce yo…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

636 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