Site icon Hip-Hop Website Design and Development

What’s the different to `<?php the_content(); ?>` on the subject of calling Media (picture) information within the ‘attachment.php’ file?

I’m within the means of placing collectively my very own WordPress Theme. Up till now, I’ve been utilizing the ‘single.php’ file to behave as a Template for each my Blogs and Media Recordsdata. In reference to my Media information, I’ve been utilizing the <?php the_content(); ?> tag to name such pictures.

I’ve now reached the stage, the place I’ve created an ‘attachment.php’ file for the assorted Media information. I’ve seen that the <?php the_content(); ?> doesn’t work in mentioned file, in contrast to within the ‘single.php’ file.

What’s the related different to <?php the_content(); ?> on the subject of calling pictures within the ‘attachment.php’ file?