I am using wp_query to get search results. But it only searches and returns matching title only. Does not return matching content and other ACF fields. How can I do that? I am also using “Search everything” plugin in my site. Here the arguments for my wp_query:

$args = array(
        'post_type'     => $post_type,
        'post_status'   => 'publish',
        'posts_per_page'=> $no_of_posts,
        'offset'        => $offset,
        's'             => $query,
    ); 

Read more here: How to get proper search results with wp_query


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: