Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Fix post-information customization for post-card
Browse files Browse the repository at this point in the history
  • Loading branch information
eaoui committed Aug 6, 2021
1 parent 10fcd45 commit 5150852
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion template-parts/content/posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
</a>
<div class="post-info">
<?php
if (get_option('card_post_info') === 'author') {
if (get_option('card_post_info') === 'none') {
} elseif (get_option('card_post_info') === 'author') {
echo get_the_author_posts_link();
} elseif (get_option('card_post_info') === 'date') {
echo get_the_date();
Expand Down

0 comments on commit 5150852

Please sign in to comment.