Initial commit.

This commit is contained in:
Frank419
2024-08-20 07:44:34 +08:00
commit 942a4c151f
61 changed files with 7781 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
<?php
if ( !defined( 'WPINC' ) ) {
die;
}
?>
<?php get_header(); ?>
<?php if ( have_posts() ) :
the_post();
$id = get_the_ID();
?>
<div <?php post_class( "singular" ) ?>>
<?php if ( has_post_thumbnail() ): ?>
<div class="singular-image">
<?php the_post_thumbnail(); ?>
</div>
<?php endif; ?>
<div class="singular-main">
<h1 class="panel-title"><?php the_title(); ?></h1>
<div class="panel-main">
<?php the_content(); ?>
<?php wp_link_pages( Array(
'before' => '<p class="panel post-nav-links"><span class="post-nav-links-indicator">' . __('Pages: ', 'minimalistflex') . '</span>'
) ); ?>
</div>
</div>
<?php if ( comments_open() || get_comments_number() ) :
comments_template();
endif; ?>
</div>
<?php endif; ?>
<?php ?>
<?php get_footer(); ?>