Home Forums WoodMart support forum AJAX Search for Pages Reply To: AJAX Search for Pages

#157106

Oriol Duarri
Participant

Hi Aizaz, that’s a bit embarassing, just take a look at that, your AJAX Search element for Visual Composer have this code:

[woodmart_ajax_search search_post_type=”post” woodmart_color_scheme=”light” price=”0″ thumbnail=”0″ category=”0″ number=”-1″]

I have changed this search_post_type=”post” to search_post_type=”page” having:

[woodmart_ajax_search search_post_type=”page” woodmart_color_scheme=”light” price=”0″ thumbnail=”0″ category=”0″ number=”-1″]

I’f I make a search and press enter the resulting page is that: domain.com/?s=keywordsearched&post_type=page

And they show pages, so, working great,

The problem is the AJAX query, if I just write and wait for the ajax results, it doesn’t displays nothing,