so im working on making my first wordpress theme/site and I have not split my index.php file into other different parts
I created the basic loop and I went to try it out.
magically when i click a post, (it uses index.php to display it because I have no single.php)
it shows just that post and all other posts disappear.
how does it do that when the index page clearly has a loop to show all posts? does the php somehow know that I am trying to view one post and it disables the loop?
how!? what is happening behind the scenes? does wp_query check the slug?