Initial AI theme draft
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
<?php get_header(); ?>
|
||||
<main id="main" class="site-main">
|
||||
<?php while ( have_posts() ) { the_post(); ?>
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header"><div class="entry-meta"><time datetime="<?php echo esc_attr( get_the_date( DATE_W3C ) ); ?>"><?php echo esc_html( get_the_date() ); ?></time> · <?php the_author_posts_link(); ?></div><?php the_title( '<h1 class="entry-title">', '</h1>' ); ?><?php if ( has_category() ) { ?><div class="taxonomy post-categories"><?php the_category( ' ' ); ?></div><?php } ?></header>
|
||||
<?php if ( has_post_thumbnail() ) { ?><div class="entry-thumbnail"><?php the_post_thumbnail( 'large' ); ?></div><?php } ?>
|
||||
<div class="entry-content"><?php the_content(); wp_link_pages(); ?></div>
|
||||
<footer class="entry-footer"><?php if ( has_tag() ) { ?><div class="tags-links"><?php the_tags( '', ' ', '' ); ?></div><?php } ?></footer>
|
||||
</article>
|
||||
<?php if ( comments_open() || get_comments_number() ) { comments_template(); } the_post_navigation(); ?>
|
||||
<?php } ?>
|
||||
</main>
|
||||
<?php get_footer();
|
||||
Reference in New Issue
Block a user