Open Custom Post Type as PDF

You may want to try a few PDF generation plugins out there. I did some quick Googling and found https://wordpress.org/plugins/wp-pdf-generator/ (but I would recommend searching for others). Once installed, you can directly link your users to the “generate pdf” link instead of the Custom Post Type permalink, generating the PDF automatically for them.

You can also run some custom code to generate the PDF. I’ve used https://github.com/tecnickcom/TCPDF and it works well, but this is a code-heavy solution.

error code: 523