Support for preview when post is in draft and pending state?
Super excellent plugin !
I have a customer that needs a full publishing workflow, with many editors and heavy use of taxonomies and tags to categorize articles.
The plugin does exactly what I need and in a nice and solid way - when the post is published. To preview changes on a published post: domain.url/[taxonomy]/[post_name]/?preview=true&preview_id=452&preview_nonce=cedb8dac19
I however also need to preview when the post is in draft and pending.
At the moment only the default wp preview is available when the post is in draft and preding: domain.url/?post_type=[custom_post_type]&p=452&preview=true.
Is this a complex fix to add?
I will start reading the code to see if I can contribute, but I would appreciate some hints.
Regards Espen
I will also be doing a norwegian translation: cptp-nb_NO.po/mo
Many Many Thanks!!
About preview permalink, if change the "https://github.com/torounit/custom-post-type-permalinks/blob/master/CPTP/Module/Permalink.php#L46", likely the issue can be solved.
Also I'm going to try to check the direction of me.
I'm looking forward to pull request.