fixing article links for search results
This commit is contained in:
parent
8f68cec42d
commit
d268912a69
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ namespace WP_73k;
|
|||
<header>
|
||||
<h2 class="post-title fs-2 fw-600 mb-2">
|
||||
<?php
|
||||
if ( is_archive() || is_home() ) {
|
||||
if ( is_archive() || is_search() || is_home() ) {
|
||||
printf( '<a href="%s" rel="bookmark">%s</a>',
|
||||
esc_url( get_the_permalink() ),
|
||||
esc_html( get_the_title() )
|
||||
|
|
Loading…
Reference in a new issue