Tidy single.php: remove commented markup

This commit is contained in:
ai-bot committed 2026-10-14 09:05:26 +00:00
1 parent 4e123415cd
commit 5d069ec1aa
1 file changed
+24 -26
+24 -26
View File
@@ -1,26 +1,24 @@
<?php
get_header();
if (have_posts()) :
while (have_posts()) : the_post();
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h2 class="entry-title"><!--<a href="<?php the_permalink(); ?>">--><?php the_title(); ?><!--</a>--></h2>
<div class="entry-meta">
<p class="author"><a href="<?php echo get_author_posts_url(get_the_author_meta("ID")); ?>"><?php the_author(); ?></a></p>
<p class="date"><?php the_date(); ?></p>
</div>
<div class="entry-content">
<?php the_content(); ?>
<p class="categories">Kategori: <?php the_category(", "); ?></p>
</div>
</article>
<?php
endwhile;
endif;
get_footer();
?>
<?php
get_header();
if (have_posts()) :
while (have_posts()) : the_post();
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h2 class="entry-title"><?php the_title(); ?></h2>
<div class="entry-meta">
<p class="author"><a href="<?php echo esc_url(get_author_posts_url(get_the_author_meta("ID"))); ?>"><?php the_author(); ?></a></p>
<p class="date"><?php the_date(); ?></p>
</div>
<div class="entry-content">
<?php the_content(); ?>
<p class="categories">Kategori: <?php the_category(", "); ?></p>
</div>
</article>
<?php
endwhile;
endif;
get_footer();