imath / wp-statuses

WordPress plugin to ease Custom Post Statuses integration
GNU General Public License v2.0
160 stars 27 forks source link

Add post visibility for logged in users #4

Closed larsakerson closed 2 years ago

larsakerson commented 7 years ago

It seems custom statuses are not able to emulate the visibility settings of the built-in draft and pending post status types. It would be helpful to be able to display a status type only when logged in – or am I missing an option that's already present?

imath commented 7 years ago

I'm not sure to understand, you want to mimic the preview behavior with custom post satuses ?

imath. http://profiles.wordpress.org/imath/

Le 15 mars 2017 à 19:48, lajala notifications@github.com a écrit :

It seems custom statuses are not able to emulate the visibility settings of the built-in draft and pending post status types. It would be helpful to be able to display a status type only when logged in – or am I missing an option that's already present?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

larsakerson commented 7 years ago

Right. In my case, I want users to be able to interact with posts throughout an editorial process (example flow: submitted, assigned, reviewed, resubmitted, publish). Only published posts should be visible to users who are not logged in. Does that make sense? I think this feature would just require a parameter passed to a query filter function. What do you think?

imath commented 7 years ago

i think you should keep the draft & pending statuses and use JavasSript to rename them the way you want because the plugin is not supporting the preview behavior these two kinds of specific statuses are generating.

imath. http://profiles.wordpress.org/imath/

Le 15 mars 2017 à 23:39, lajala notifications@github.com a écrit :

Right. In my case, I want users to be able to interact with posts throughout an editorial process (example flow: submitted, assigned, reviewed, resubmitted, publish). Only published posts should be visible to users who are not logged in. Does that make sense? I think this feature would just require a parameter passed to a query filter function. What do you think?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.