Support » Plugin: WP Post to PDF » [Plugin: WP Post to PDF] Changing Header

  • Resolved tribun

    (@tribun)


    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

    tribun

    http://wordpress.org/extend/plugins/wp-post-to-pdf/

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

    (@n33rav)

    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 ‘[Plugin: WP Post to PDF] Changing Header’ is closed to new replies.