I am in the process of putting together my own WordPress Theme. Up until now, I have been using the 'single.php' file to act as a Template for both my Blogs and Media Files. In reference to my Media files, I have been using the
<?php the_content(); ?> tag to call such images.
I have now reached the stage, where I have created an 'attachment.php' file for the various Media files. I have noticed that the
<?php the_content(); ?> does not work in said file, unlike in the 'single.php' file.
What is the relevant alternative to
<?php the_content(); ?> when it comes to calling images in the 'attachment.php' file?