fix(article): add status label in article metadata
Included a "Status:" label in the article metadata section to clearly indicate the publication status. This improves readability and user experience by explicitly naming the metadata field. No functional changes to the data retrieval process.
This commit is contained in:
parent
4310ea6fb8
commit
98a3faf4ed
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
|||
<strong>DOI:</strong> <?php echo esc_html(get_post_meta(get_the_ID(), 'article_doi', true)); ?>
|
||||
</p>
|
||||
<p class="text-muted">
|
||||
<?php
|
||||
<strong>Status:</strong> <?php
|
||||
$terms = get_the_terms(get_the_ID(), 'publication_status');
|
||||
if (!empty($terms) && !is_wp_error($terms)) {
|
||||
$term_list = array();
|
||||
|
|
Loading…
Reference in a new issue