Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi, you would need to go to wp-admin / Settings / Permalinks panel, select an option different than Plain and save changes this should fix the search form.

    Thread Starter aruneshdutta

    (@aruneshdutta)

    Thanks made the changes..I can search using the location and returns ad matching but on entering keyword like Sony which I already have in items it doesn’t shows no ads

    Plugin Author Greg Winiarski

    (@gwin)

    Most likely there is some other plugin or theme modifying the query in a way that makes WPAdverts return empty result set, you should be able to disable other filters by adding the code below to your theme functions.php file

    
    add_filter( "adverts_list_query", "adverts_list_query_suppress" );
    function adverts_list_query_suppress( $args ) {
        $args["suppress_filters"] = true;
        return $args;
    }
    
    Thread Starter aruneshdutta

    (@aruneshdutta)

    Have added

    add_filter( "adverts_list_query", "adverts_list_query_suppress" );
    function adverts_list_query_suppress( $args ) {
    $args["suppress_filters"] = true;
    return $args;
    }
    at the very bottom of functions.php by site won’t load using Classified Ads theme

    Plugin Author Greg Winiarski

    (@gwin)

    If page does not load after adding this code then most likely you have added this code in some incorrect place make sure it is between the opening <?php and ending ?>

    If this will not help then in wp-config.php add the following line

    
    define("WP_DEBUG", true);
    

    and refresh the page if there is some fatal error it should show then.

    Thread Starter aruneshdutta

    (@aruneshdutta)

    Thanks I added same as guide it has resolved the concern

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Search option in the plugin is not working does not show items based on keyword’ is closed to new replies.