21 lines
693 B
PHP
21 lines
693 B
PHP
<?php get_header() ?>
|
|
|
|
<?php
|
|
$post = get_post($_GET["pid"]);
|
|
$author = get_the_author_meta('display_name', $post->post_author);
|
|
?>
|
|
|
|
<main class="bg-lightGrey max-w-screen">
|
|
<section class="wrapper-md h-screen h-[100dvh] flex flex-col justify-center items-center">
|
|
<ul class="basic-select w-full">
|
|
<li><h1 class="text-center"><?= $post->post_title ?></h1></li>
|
|
<li class="px-size-0 text-size-2"><time><?= date("d/m/Y, H:i A", strtotime($post->post_date_gmt)) ?></time></li>
|
|
<li class="px-size-0 text-size-2"><author>By <?= $author ?></author></li>
|
|
</ul>
|
|
<footer class="pt-size-2">
|
|
LewisDale.dev
|
|
</footer>
|
|
</section>
|
|
</main>
|
|
|
|
<?php get_footer() ?>
|