« Back to History
page-home-tags.php
|
20260920_164915.php
Initial Domain Snapshot
Copy Code
<?php get_header(); ?> <div class="tag-content-page"> <h1>Posts by Tag: <?php echo single_tag_title(); ?></h1> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="post-container"> <!-- Post Thumbnail --> <?php if (has_post_thumbnail()) : ?> <a href="<?php the_permalink(); ?>"> <?php the_post_thumbnail('medium'); ?> </a> <?php endif; ?> <!-- Post Title --> <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <!-- Post Excerpt --> <p><?php the_excerpt(); ?></p> <!-- Post Tags --> <div class="post-tags"> Tags: <?php the_tags('', ', ', ''); ?> </div> </div> <?php endwhile; ?> <?php else : ?> <p>No posts found for this tag.</p> <?php endif; ?> </div> <?php get_footer(); ?>