I just upgraded my wp 3 days ago, loop.php is a new file to me. I am trying to figure out what it actually does since all the usual files (index.php, single.php etc) have don’t call loop.php in the theme I am playing with, and all of the files have The Loop in them…
“The Loop” is:
//start loop
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
// stuff like you have
<h2><?php the_title(); ?></h2>
<p class="timestamp"><?php the_time('F jS, Y') ?></p>
<p><?php the_content(); ?></p>
// End loop
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
If none of the normal templates are using this loop.php file, then editing it won’t change your site. Edit the normal templates and see if the changes are reflected.
Themes can organize their code in completely arbitrary ways. Loop.php has no special meaning to WordPress, it’s not automatically used in any way. It would only be used if that theme was built to require it (either directly with include or with the get_template_part function that is essentially include with the ability for developers to add hooks/filters to this call in the future).
But yeah, it’s displaying the content… just not the other stuff… I’ve highlighted to see if it’s just the wrong color or something, but I don’t see it.