getherbert / herbert

The WordPress Plugin Framework:
http://getherbert.com/
632 stars 94 forks source link

Draft Views #98

Open briankelleher opened 8 years ago

briankelleher commented 8 years ago

So I have set a custom route for a post that calls a controller and finally produces a twig view, which all works nicely. However, this view is only active in the final published version of the post. Is there a way to hook the template into Draft previews?