Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi! You can add the page number via CSS. You can use this snippet in the footer (or any other place you want to put the page number):

    <style>.pagenum:before { content: counter(page); }</style>
    Page: <span class="pagenum"></span>

    Note that this does require a repeating footer as opposed to having the footer only on the last page.

    Hope that helps!
    Ewout

    Thread Starter sehjad.ansari

    (@sehjadansari)

    thank you it’s working……

    supertoll

    (@supertoll)

    Dear Ewout

    Could you also provide that snippet for “Page x of x”?

    Regards

    -Rafael

    Plugin Contributor Ewout

    (@pomegranate)

    Hello Rafael,
    With the latest version, you can add the following code to your template (or footer text in the settings if you have set up repeating footers):

    Page {{PAGE_NUM}} / {{PAGE_COUNT}}

    Hope that helps!
    Ewout

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘page numbers in the pdf’ is closed to new replies.