search results in custom template search.php

The search.php template is used, and the correct posts returned, when a search is performed with the ?s= query. Not ?search=. Make sure the name attribute of the input in your search form is s: <input type=”search” name=”s”> And your index.php file should absolutely not be using a custom query like that. Use the main … Read more

wordpress ajax search posts

You are using post_permalink() that is deprecated. Please use get_permalink() or the_permalink() and also make sure that ajax function is called successfully by simply returning any string from ajax function.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)