Call Us : +1-678-551-2452
+91 77381-86899

Show Search Results on Page Load in Ultimate WP Query search filter form without clicking on search button

I was using the plugin to filter posts based on a form’s inputs. It worked perfectly on the search button click, but then i wanted to display all the search results on page load without clicking on search button.

The solution that worked for me:

Add below script at the end of the theme’s  footer.php file just before </html> element

<script type=”text/javascript”>

jQuery(document).ready(function($) {

function loadAjax(){
var obj = $(“[id^=uwpqsffrom_]”);

return false;
window.onload = loadAjax;});

Leave a Reply

Pay with PayPal

Icon Web Solutions Service
Other Amount:


It has been a great pleasure working with Icon Web Solutions on the development of my digitized logo and website. From the initial phases of web design, the Icon Web Solutions team has been a pleasure to work with
Naren, USA