This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

search results don't fit well

Home Forums Product Support Forums Ajax Search Pro for WordPress Support search results don't fit well

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #49100
    ofirofir
    Participant

    i see in the results posts that do not contain the keyword on search and do not fit for it
    i sending you an example in a video

    https://drive.google.com/file/d/11Y0Zx6yPao8m062kaffau12kj4B0GhHv/view?usp=sharing

    please help me

    #49101
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    When I check the original (non Elementor) post content stored in the database, then this includes all of those keywords: https://i.imgur.com/aKFQkru.png
    I have added the following custom code snippet to prevent that from indexing:

    add_filter('asp_post_content_before_tokenize_clear', function($content, $the_post) {
    	return apply_filters('the_content', $content);
    }, 10, 2);

    Now it should be all right.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.