Is There A Way Of Using the_post_thumbnail() to Pull In A Specific Image From The Media Library

The equivalent function for arbitrary images that aren’t the post thumbnail is wp_get_attachment_image(). It works similarly, but you need to pass the attachment ID, and there’s an $icon argument that doesn’t really do much:

echo wp_get_attachment_image( $attachment_id, 'large', false, [] );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)