I am not very familiar with PHP yet but I am trying to build a Wordpress theme.
In one of my theme files I simply want to insert an image (located at the theme directory /img/image.jpg) with a link to http://google.com
Since I have already included
add_image_size( 'testtest', 333, 333, true ); in my functions.php I would like to use this function to display the image at this size.
How should I write this with PHP code in my template file? In other words, how can I display an image that uses the pre-defined size and add a link to it with PHP?