I have a help page added to my admin, with screenshots of various config settings.
The screenshots are located in a subfolder (several levels deep) of the theme.
Currently, to insert linked thumbnails I'm using this...
<a href="<?php bloginfo('template_directory')?>/path_to/image.png"> <img src="<?php bloginfo('template_directory')?>/path_to/image.png"></a>
For simplicity, I'm wondering if/how I can use a $variable to set the path to the appropriate subfolder, and use it (rather than the full path).
My limited knowledge is enough to echo such an url...
$url = bloginfo('template_directory'). '/extras/config/screenshots/plugins'; echo $url;
But I don't know enough to use it to add the image and link.