Update page.php for 2.0.0

- The page title is now an <h1 class="entry-title">. The class name is
  unchanged.
- Remove the commented out permalink markup.
- Keep the .entry-meta container so existing Additional CSS keeps working.
This commit is contained in:
ai-bot committed 2026-10-14 08:34:31 +00:00
1 parent 525d9362a9
commit a26823f166
1 file changed
+20 -12
+20 -12
View File
@@ -1,16 +1,24 @@
<?php get_header(); ?>
<?php
/**
* Static page template.
*
* @package Super_Simple_WP_Theme
*/
<?php if (have_posts()) : ?>
<?php 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">
</div>
<div class="entry-content">
<?php the_content(); ?>
</div>
</article>
<?php endwhile; ?>
get_header();
?>
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h1 class="entry-title"><?php the_title(); ?></h1>
<div class="entry-meta">
</div>
<div class="entry-content">
<?php the_content(); ?>
</div>
</article>
<?php endwhile; ?>
<?php endif; ?>
<?php get_footer(); ?>