Tagged Questions
0
votes
2answers
30 views
How to show or hide a post based on meta_value selection?
How would I go about hiding a post based on a meta_value selection done on the back end.
The usual method is to just change the post status from Publish to Draft however, I want this to work based on ...
1
vote
0answers
48 views
redirect deleted / drafted pages
A client asked me to unpublished a page, which I did. However, I kept it as a draft, just in case they wanted to republish at a future date.
My issue is that anyone with this link will hit a 404 ...
1
vote
2answers
556 views
How to allow a user to make their post (ad) a draft, and then publish again without needing approval?
I'm using WordPress as a directory site, where a user can submit a post, which becomes their ad/listing. The users are assigned a custom wordpress role.
Posts need to need to be approved and ...
0
votes
1answer
108 views
Set page to draft on plugin deactivation
Im working on a little plugin that when activated creates a theme page and then a function sets this page to published this is the code i have for published:
// function that creates the new ads page ...
9
votes
4answers
183 views
How can I time the publishing of a page or post?
Sometimes it would be nice to be able to set a draft to be published when I'm not in front of the keyboard. Is this possible? If so, how?