• bit of a newbie here so excuse if wrong place for this question.

    I am customising Hueman theme and want to change default text following ‘0 search results’ ie ‘For the term “xxxxx”. Please try another search:’

    Is it possible? Where would I find location to make the alteration? Will it all explode?

    Any tips please? Thanks Ian

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi ianbond. You could copy search.php into a child theme. Near the top of the file this is the code you would change:

    <div class="notebox">
      <?php _e('For the term','hueman'); ?> "<span><?php echo get_search_query(); ?></span>".
      <?php if ( !have_posts() ): ?>
        <?php _e('Please try another search:','hueman'); ?>
      <?php endif; ?>
    Thread Starter ianbond

    (@ianbond)

    Many thanks. I’ll have a go at that.

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

The topic ‘changing default text for 0 result found’ is closed to new replies.