@@ -23,9 +23,12 @@ |
||
23 | 23 | <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'stash' ); ?></p> |
24 | 24 | <?php get_search_form(); ?> |
25 | 25 | |
26 | - <?php else : ?> |
|
26 | + <?php else { |
|
27 | + : ?> |
|
27 | 28 | |
28 | - <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'stash' ); ?></p> |
|
29 | + <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'stash' ); |
|
30 | +} |
|
31 | +?></p> |
|
29 | 32 | <?php get_search_form(); ?> |
30 | 33 | |
31 | 34 | <?php endif; ?> |
@@ -55,8 +55,10 @@ |
||
55 | 55 | foreach ($list_searcheable_acf as $searcheable_acf) : |
56 | 56 | if ($searcheable_acf == $list_searcheable_acf[0]): |
57 | 57 | $where .= " (meta_key LIKE '%" . $searcheable_acf . "%' AND meta_value LIKE '%$tag%') "; |
58 | - else : |
|
58 | + else { |
|
59 | + : |
|
59 | 60 | $where .= " OR (meta_key LIKE '%" . $searcheable_acf . "%' AND meta_value LIKE '%$tag%') "; |
61 | + } |
|
60 | 62 | endif; |
61 | 63 | endforeach; |
62 | 64 |