Add page numbers to PDFs

You can add page numbers to the header or footer of all PDF exports in KnowledgeOwl, though the exact setup varies a bit based on the type of PDF.

Individual article PDFs

To add page numbers to your individual article PDFs:

  1. Go to Settings > PDF.
  2. Add PDF Header HTML or PDF Footer HTML that includes the [pdf("page-number")] merge code. For example, you can add a centered div like this to create a "Page [number]" treatment:
    <div style="text-align: center;">Page [pdf("page-number")]</div>
  3. Be sure to Save your changes.

Standard & Custom PDF exports

For both the Standard and Custom PDF exports, you don't need to add full HTML. You can just add the page number merge code directly to the relevant field:

  1. In the left navigation, go to Exports
  2. Select on Standard PDF to edit the full knowledge base standard PDF, or Custom PDFs and then the gear icon next to the custom PDF you'd like to add page numbers to.
  3. Copy the merge code below and add it to the Content footer left, Content footer center, or Content footer right.
    [pdf("page-number")]
  4. Be sure to Save and generate your PDF export.