• Resolved Albo78

    (@albo78)


    I like to customize the page when there are no results. But the problem is, i dont know where!
    Cansomeone help me? I like to put a searchbar on that page. At the moment you only get the message: No results are found.

Viewing 1 replies (of 1 total)
  • Hey Albo78,

    Hope you’re well today!

    In order to do this you’ll have to edit one of the theme template files. The one that you’re looking for is called 404.php and it is located in the root folder of your theme.

    I’d highly advise on using a child theme, making a copy of the file there and then making the changes so you can be safe when your theme updates.

    With that being said you’d want to add the following line to either line 30 or 32 depending on if you want search field to be above or below the text displayed on that page:

    <?php get_search_form(); ?>

    Hope this helps 🙂

    Cheers,
    Bojan

Viewing 1 replies (of 1 total)

The topic ‘Search result page’ is closed to new replies.