Skip to content

Commit a512880

Browse files
committed
Update Latest-Posts-Hover.php
1 parent 0cc2979 commit a512880

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

widgets/Latest-Posts-Hover.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -476,12 +476,12 @@ protected function render()
476476
echo '
477477
<div class="card2" style="background-image: url(' . $featured_image . ');>
478478
<div class="info">
479-
<div class="title"> <a href="' . $post_link . '" class="card2-link">' . $post_title . ' <a/></div>
479+
<a class="title" href="' . $post_link . '">' . $post_title . ' <a/>
480480
<p class="date">' . $post_date . '</p> ';
481481
if ($category_name != '') {
482482
echo '<a class="category" role="button" tabindex="0" href="google.com">' . $category_string . '</a>';
483483
}
484-
echo '<p class="description"> <a href="' . $post_link . '" class="card2-link">' . $post_content . ' </a> </p>
484+
echo '<a class="description" href="' . $post_link . '">' . $post_content . ' </a>
485485
</div>
486486
</div>';
487487
}
@@ -512,12 +512,12 @@ protected function render()
512512
echo '
513513
<div class="card2" style="background-image: url(' . $featured_image . '); "onclick=\'window.location.href="' . $post_link . '"\'>
514514
<div class="info">
515-
<div class="title"> <a href="' . $post_link . '" class="card2-link">' . $post_title . ' <a/></div>
515+
<a class="title" href="' . $post_link . '">' . $post_title . ' <a/>
516516
<p class="date">' . $post_date . '</p> ';
517517
if ($category_name != '') {
518518
echo '<a class="category" role="button" tabindex="0" href="google.com">' . $category_string . '</a>';
519519
}
520-
echo '<p class="description"> <a href="' . $post_link . '" class="card2-link">' . $post_content . ' </a> </p>
520+
echo '<a class="description" href="' . $post_link . '">' . $post_content . ' </a>
521521
</div>
522522
</div>';
523523
}

0 commit comments

Comments
 (0)