Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
First, format the code, it's impossible to read. It should be like this:
<h2>
<i class="fa fa-search" aria-hidden="true"></i>
<?php
$allsearch = &new WP_Query("s=$s&showposts=-1");
$key = wp_specialchars($s, 1);
$count = $allsearch->post_count;
_e('');
echo $count . ' ';
_e('результатов');
wp_reset_query();
?>
<span> для <?php echo get_search_query(); ?></span>
</h2>
&new WP_Query("s=$s&showposts=-1")
. Well _e('');
, that's bullshit. In general, you have all the output through one place, it prinf()
should be there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question