Pro Print Button in Admin
mnelson4 opened this issue · comments
Kinda related ot #326 and #329, customers want a button in the admin to quickly print a single post/CPT.
Lawyers Website needs:
- add button to Gutenberg/Classic Editor to print
- add loading page to frontend
- add JS onto loadingn page
- generate doc from loading page
-
- link to generate page from:
- classic editor: https://www.sitepoint.com/adding-meta-boxes-post-types-wordpress/
- gutenberg: https://awhitepixel.com/blog/how-to-add-post-meta-fields-to-gutenberg-document-sidebar/
- post action?
- when generating, check if its a project or somethign else. If something else...
- add current format as a format of the postproject
- set metadata defaults if not already set
- add only the current post to the postproject
- use custom design (add filter to override default design)
Adding to Core:
- Add different formats for buttons (not just word)
- settings to change:
- which formats appear
- which design to use for each format
- link to create full project from post in case they need to use other design or change metadata or add other content
- deploy to staging site
- test creating a doc is the same as project
- deploy to live
Until I get any feedback, I think this is good enough. Maybe I could make the buttons smaller is all...