• Resolved ammo01

    (@ammo01)


    Good afternoon,

    I have been trying to get the post’s thumbnail using the the_post_thumbnail(); function and using it in the deafult.php template.
    I hasn’t worked for me could you help me ?

    Thank you

    The page I need help with: [log in to see the link]

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

    (@fkrauthan)

    As I responded on the github issue you need to be a bit more specific. In addition to that you should never change the existing templates and instead create a copy todo your modifications.

    Thread Starter ammo01

    (@ammo01)

    Good night, ok noted, what I am trying to do is to place the post’s thumbnail bellow the header using the default template. and I have been using the_post_thumbnail(); to try and get it to display but i get no results. Could you help me ?

    Plugin Author fkrauthan

    (@fkrauthan)

    Since I am not sure what exactly you did but I assume the method you need is get_the_post_thumbnail as that will return the HTML. As you have to append the HTML to the $pdf_output variable in the template.

    Thread Starter ammo01

    (@ammo01)

    Ok thank you for the fast answer i will try that a give you feed back

    Thread Starter ammo01

    (@ammo01)

    Hello again, thank you for the help i have acomplished what i wanted chears.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Getting post Thumbnail in The PDF’ is closed to new replies.