Skip to content
Work in progress, a Wordpress plugin for using paged.js
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
templates
tests
.distignore
.gitignore
.phpcs.xml.dist
.travis.yml
LICENSE
README.md
paged-wp.php
phpunit.xml.dist

README.md

Paged WP: beautiful PDFs from Wordpress posts and pages

Paged WP is a very simple, proof-of-concept Wordpress plugin that adds a button to the admin view of Wordpress pages/posts.

Clicking that button opens a preview of the post in a new tab, in which we load only the page content, paged.js, and a custom Paged Media CSS file, so that you can get a rendered paged view and save it to PDF.

Usage

There is a lot still to improve here. For now:

  • Paged.js only works properly in Chrome, so you should use Chrome for this, too.
  • You must hard-code the link to your Paged Media CSS in the paged-wp.php file. By default, it loads the template styles from paged.design.
  • In WordPress, you must use the Classic editor. This plugin does not work with the Gutenberg editor.

Roadmap

We'd like to make it easier to link to and/or add custom CSS, and to clean up the code to be more function-oriented and less procedural. That will depend on our finding time and funding to continue work on it.

You can’t perform that action at this time.