featuring old articles without messing up with the archive
This is all about featuring content in WP.
This is all about featuring content in WP.
We have two different custom user roles that have custom capabilities. What I’m trying to do is to add two custom visibility statuses that are visible from the publish meta box on the edit page.
I am creating a front end dashboard where I need to show all the posts by the current user. So, I need to show posts in all states, mainly published, trashed and the pending. I am now using a simple query but it is returning only the published posts.
I want to add custom button “Send for correction” somewhere near the “Publish” button. This custom button must change a post status from “Pending” to my own created status named “On correction”.
Is there any way to have more post statuses other than just draft or published?
I have a client who wants to use the trash feature, but keep items in there indefinitely (I have no idea why, but they insist on it).