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

    (@lewisr)

    Thanks for your kind words!

    Indeed, there are two ways to achieve what you want:

    1. If using version 1.0.4, edit line 345 of wp-post-to-pdf-enhanced.php to add:

      $pdf->setPrintHeader(false);

      or;

    2. Download the latest trunk (developer) build from here. I’ve just landed an enhancement which changes the admin UI to a dropdown for the header options: Suppressed, First Page Only, or All Pages (the default).

    I guess I should include such an option for the footer, and someone is likely to request the ability to add a custom header, so I’ll put those on my to-do list, as well.

    Thanks for the great suggestion!

    Cheers

    Lewis

    Thread Starter DigHeal

    (@digheal)

    Lewis,

    Brilliant! I downloaded the dev branch and the new UI looks/works great. However, I think it may have inadvertently created an issue… I am using the URL Params plugin. Before I installed the new version, I had the ‘process shortcodes’ and ‘other plugins’ options enabled and when I passed URL parameters to a page, the resulting PDF included these values. After installing the new dev version, those values are omitted from the PDF despite appearing on the page.

    Unfortunately I don’t have a public version of this I can send you because it’s all in a development environment on my laptop and I am in a van driving towards Athens, GA. ??

    Does my description of the issue ring any bells for you?

    Plugin Author Lewis Rosenthal

    (@lewisr)

    Glad we got the header thing straightened out to suit.

    Hmmm… Nothing has changed insofar as the processing of shortcodes options is concerned. Can you try toggling the settings in the admin panel, saving, and then toggling them back and see what you get? Maybe some changes in the options panel disrupted your settings. As you can see, much has changed there.

    Oh, and be sure to do this after you stop driving!

    LOL

    Seriously, drive carefully, give the above a shot when you have a moment, and let me know if the issue persists.

    Cheers

    Lewis

    Greetings Lewis,

    Is it possible to edit the PDF header content? When I render a PDF, it appears the PDF header is sourcing from the Site Title, Tagline and URL from General Settings in my Theme UI. Can I add further text in the code or elsewhere?

    Thanks so much in advance, I love this plugin!
    ?? Heather

    Plugin Author Lewis Rosenthal

    (@lewisr)

    Thanks, Heather.

    Could you open a fresh thread for your enhancement request, please? This was a different issue.

    I’ll be glad to follow up separately.

    Cheers

    Lewis

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Suppress Header and Header Logo?’ is closed to new replies.