Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5666

    Hey,

    where is avia_which_archive() ?

    I would like to add the number of search results in the search-page.

    How must I proceed?

    In avia_which_archive(), if is search-archive, I must insert this

    <?php echo '<p>Found ' . $wp_query->found_posts . ' hits.</p>'; ?>

    or this

    <?php global $wp_query; echo '<p>Found ' . $wp_query->found_posts . ' hits.</p>'; ?>

    or other similar code (i.e. without $wp_query).

    Thanks

    #51315

    Hey! The function is located in framework/php/function-set-avia-frontend.php line 646

    Best regards

    Kriesi

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Showing the number of search results’ is closed to new replies.