← All releases

wp-content/plugins/bindery/bindery.php

Bindery

Turn a category into a PDF that looks like it was set, not printed from a browser.

== Description ==

Browser print stylesheets get you a document with the right words in it. Bindery gets you one with running heads, correct page numbers, a contents page generated from the actual headings, and images placed rather than floated wherever the flow left them.

Output is PDF or EPUB from the same source. The EPUB path keeps the heading structure intact, which is what makes it navigable in a reader and usable with a screen reader.

Compilation runs in the background and emails a link when it finishes, because a 200-post anthology takes longer than a request should.

== Screenshots ==

Numbered the way they ship in /assets/. Click any one to see it full width.

== Installation ==

  • Install and activate the plugin.
  • Create a binding under Tools → Bindery: choose a category or a set of posts, and an order.
  • Compile. You will get an email when the file is ready.

Fonts are embedded from your theme’s stylesheet where licensing allows, and fall back to a bundled serif where it does not.

== Frequently asked questions ==

Does it need a headless browser?

No. Layout is done in PHP; there is nothing to install on the server beyond the plugin.

What happens to blocks it does not recognise?

They are rendered as their HTML fallback and listed in the compile report so you can check them.

== Changelog ==

= 1.3.0 =

  • Generated contents page, built from headings rather than from post titles alone.
  • EPUB output preserves heading levels for reader navigation.

= 1.1.0 =

  • Background compilation with an email notification. Large bindings previously timed out.