Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author dinamiko

    (@dinamiko)

    Hi okellu,

    I just did a quick test with a parent theme and with a child theme and works well.

    follow these steps:
    1. copy dkpdf-button.php from dk-pdf/templates/
    2. paste it in a folder named dkpdf in the root of your theme (or child theme)
    3. do the adjustments, what I did in the test was changing this:

    ...<span class="dkpdf-button-icon"><i class="fa fa-file-pdf-o"></i></span> <?php echo $pdfbutton_text;?></a>

    for this:

    ...<?php echo $pdfbutton_text;?> <span class="dkpdf-button-icon"><i class="fa fa-file-pdf-o"></i></span></a>

    As you can see, I changed the order of icon + text to text + icon.

    Try the steps and tell me, thanks.

    Best.

    Thread Starter okellu

    (@okellu)

    thanks! it working fine now after i make a new copy of the template file. i have another question – is it possible to print the page title only on the first page of pdf?

    Plugin Author dinamiko

    (@dinamiko)

    Hi okellu,

    what do you mean? print title in pdf header or in pdf page (before content)?

    Best.

    Thread Starter okellu

    (@okellu)

    is it possible for pdf header?

    Plugin Author dinamiko

    (@dinamiko)

    Hi okellu,

    right now header title is printed in all pdf pages, I’m going to look at this soon and I will tell you something about it.

    Best.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘customise pdf button’ is closed to new replies.