Support » Plugins and Hacks » [Resolved] [Plugin: WP Post to PDF] Changing Header

[Resolved] [Plugin: WP Post to PDF] Changing Header

  • I would like change the Header output.

    Dont need Blog Description, but to right Side I need the PDF Date and the Author and in the right Head of the Post the Post Date.

    I know that this Row in the php is for the Header: $pdf->SetHeaderData(PDF_HEADER_LOGO, $logowidth, html_entity_decode(get_bloginfo('name')), html_entity_decode(get_bloginfo('description') . "\n" . get_bloginfo('siteurl')));

    But what I must put in? And what i must doing for Dates?

    thx for Support



Viewing 1 replies (of 1 total)
  • Plugin Author Neerav Dobaria


    To remove blog description, use following code

    $pdf->SetHeaderData(PDF_HEADER_LOGO, $logowidth, html_entity_decode(get_bloginfo(‘name’)), get_bloginfo(‘siteurl’)));

    Its not good choice to have date in PDF as it can not be cached in that case.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: WP Post to PDF] Changing Header’ is closed to new replies.