• Hello,

    I am surprised that I can’t find any docs about this..

    Here’s the problem.

    I have created a custom template that displays the posts featured image like this:

    <img src="<?php echo get_the_post_thumbnail_url(); ?>">

    However, I would like to display the picture with the so called “medium_large” thumbnail size. What is the cleanest PHP code to do so?

    Thanks,
    And please add this to the plugin description as it is the most important thing to write!!

    • This topic was modified 6 years, 5 months ago by lpenn.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to “PHP echo” the regenerated post thumbnail’ is closed to new replies.