2024-06-20 08:52:49 +00:00
|
|
|
<?php get_header(); ?>
|
|
|
|
|
|
|
|
<!-- Article Content -->
|
|
|
|
<section class="container my-5">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8 mx-auto">
|
|
|
|
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
|
|
|
<h1 class="display-4"><?php the_title(); ?></h1>
|
|
|
|
<p class="text-muted">
|
|
|
|
<?php
|
|
|
|
$authors = get_post_meta(get_the_ID(), 'article_authors', true);
|
|
|
|
if (!empty($authors)) {
|
|
|
|
echo implode('; ', array_map('esc_html', $authors));
|
|
|
|
} else {
|
|
|
|
the_author();
|
|
|
|
}
|
2024-06-20 09:10:31 +00:00
|
|
|
?>
|
2024-06-20 12:44:20 +00:00
|
|
|
<p class="text-muted">
|
|
|
|
<strong>DOI:</strong> <?php echo esc_html(get_post_meta(get_the_ID(), 'article_doi', true)); ?>
|
|
|
|
</p>
|
2024-06-20 09:28:29 +00:00
|
|
|
<p class="text-muted">
|
2024-06-20 12:54:40 +00:00
|
|
|
<strong>Status:</strong> <?php
|
2024-06-20 09:28:29 +00:00
|
|
|
$terms = get_the_terms(get_the_ID(), 'publication_status');
|
|
|
|
if (!empty($terms) && !is_wp_error($terms)) {
|
|
|
|
$term_list = array();
|
|
|
|
foreach ($terms as $term) {
|
|
|
|
$term_list[] = $term->name;
|
|
|
|
}
|
|
|
|
echo implode(', ', $term_list);
|
|
|
|
}
|
|
|
|
?>
|
2024-06-20 08:52:49 +00:00
|
|
|
</p>
|
2024-06-20 09:31:08 +00:00
|
|
|
<?php if (false && has_post_thumbnail()) : ?>
|
2024-06-20 09:28:29 +00:00
|
|
|
<img src="<?php the_post_thumbnail_url(); ?>" class="img-fluid mb-4" alt="<?php the_title(); ?>">
|
|
|
|
<?php endif; ?>
|
2024-06-20 08:52:49 +00:00
|
|
|
<?php the_content(); ?>
|
|
|
|
<?php endwhile;
|
|
|
|
endif; ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<?php get_footer(); ?>
|