Home Forums WoodMart support forum AJAX Search for Pages

AJAX Search for Pages

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #157073

    Oriol Duarri
    Participant

    Hi,

    Is it possible to search pages with the AJAX Search of Woodmart?

    Thank you so much,

    #157102

    Hello,

    No, WordPress custom pages can’t be searched with AJAX Search of WoodMart.

    There is no such option yet inside the theme settings. It requires customization and this is beyond our limitations and support policy.

    Search only works for Posts, Portfolios and products.

    Best Regards.

    #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,

    #157112

    Hello,

    That’s what I already described to you that within the current theme options there is no such option to search pages with WoodMart ajax search.

    It requires customization to change the AJAX query and this is beyond our limitations and support policy.

    Best Regards.

Viewing 4 posts - 1 through 4 (of 4 total)