Skip to content

Commit

Permalink
Merge pull request #141 from UCF/In-this-issue-edit
Browse files Browse the repository at this point in the history
h3 tag was changed to p
  • Loading branch information
Ramin-Farhadi authored Dec 6, 2023
2 parents 87a8cb4 + 05700e6 commit 7bb64aa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion front-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
<?php $i = 1; ?>
<?php foreach ( $current_issue_stories as $issue_story ): ?>
<div class="col-8 col-sm-6 col-md-4">
<?php echo display_story_callout( $issue_story, '', true ); ?>
<?php echo display_story_callout( $issue_story, '', true, '', 'span' ); ?>
</div>

<?php if ( $i !== count( $current_issue_stories ) && $i % 3 === 0 ): ?>
Expand Down
2 changes: 1 addition & 1 deletion functions/display-logic.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function display_story_callout( $story, $css_class='', $show_category=false, $th
<article class="story-callout <?php echo $css_class; ?> hover-parent">
<a class="story-callout-link hover-parent text-decoration-none" href="<?php echo get_permalink( $story->ID ); ?>">
<div class="story-callout-text-wrap">
<<?php echo $heading; ?> class="story-callout-title hover-child-text-underline">
<<?php echo $heading; ?> class="h3 story-callout-title hover-child-text-underline">
<?php echo $title; ?>
</<?php echo $heading; ?>>
<div class="story-callout-description">
Expand Down
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7bb64aa

Please sign in to comment.