• On my home page are thumbnails. These are images that I receive from the option “featured images”. However, I wish that there are images from the post, not from the “featured images”. So, my code is:

    <?php get_the_image( array( ‘custom_key’ => array( ‘thumbnail’ ), ‘default_size’ => ‘thumbnail’, ‘width’ => ‘450’, ‘height’ => ‘200’ ) ); ?>

    Does anyone can help me?

Viewing 1 replies (of 1 total)
  • Dependent on the level of control you need you could put the URL to the image in a custom field for the post and then call it into your home page? It’s not the most elegant, but it does provide a quick solution.

Viewing 1 replies (of 1 total)
  • The topic ‘Thumbnails images’ is closed to new replies.