Wordpress search result display on index

Asked

Viewed 129 times

0

Fala galera,

I entered the search in my index see the code

<?php get_search_form(); ?>

How do I get the search to return the result in the index itself? in case the visitor will type there in the search and the result display below the search field? Today Wordpress by clicking search leads to a search url.

  • 1

    I imagine you mean "on the index without reloading the page," right? You need to use Ajax for that. There are links and examples of how to do this: http://answall.com/a/160069/5213

  • @Rich morale would also be nice not to reload had not thought of it. plus the question I ask is when you type something in the search and enter (this in widget) it goes to another link example: http://linkdosite.com/? s=test

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.