• I am trying to incorporate search results into a virtue search results page.

    Would very much appreciate if you could advise which php file where the search results are displayed when a search is performed.

    Many thanks & regards.

Viewing 6 replies - 1 through 6 (of 6 total)
  • It is generally search.php file under your theme folder’s root.

    Thread Starter astartrader

    (@astartrader)

    tried to find that but cant find it. there is a searchform.php but thats for the search box right?

    Yes. If you do not find it, you may look inside template-parts folder. Also I assume you are using a child theme. If so, you can create your own search.php and modify it accordingly.

    There is a plugin called “What the File“, which will help you to know which file is being accessed when a page loads. It will immensely help you in development. Remember, you need to uninstall this plugin in production.

    Although it is said to be tested up to WordPress version 4.6.5, it works fine with 4.7.4 as well.

    Thread Starter astartrader

    (@astartrader)

    Thanks. There is no template-parts folder.

    Thread Starter astartrader

    (@astartrader)

    any comments from kadence?

    Hey,

    What exactly are you wanting to change about the search? Depending on what you’re trying to accomplish, this may be something best done with a plugin.

    -Kevin

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘incorporate google custom search’ is closed to new replies.