• Resolved afreyer

    (@afreyer)


    hi,

    how can i include a post thumbnail into the template? is there any tutorial for using templates?

    i used this:
    $pdf_output .= the_post_thumbnail();

    but i got error message:
    mPDF error: Some data has already been output to browser, can't send PDF file

    thx and regards,

    http://ww.wp.xz.cn/extend/plugins/wp-mpdf/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘function the_post_thumbnail() in a custom template’ is closed to new replies.