Reply To: How to search embedded published google doc

Home Forums Product Support Forums Ajax Search Pro for WordPress Support How to search embedded published google doc Reply To: How to search embedded published google doc

#11591

Ernest Marcinko
Keymaster

Hi Guy,

Well the short answer is no, the long answer is maybe. You will have to use the index table engine in order to try the solution below. You can read more about it here: https://goo.gl/ooNYPY

Once you got that, follow these steps:

1. We need to change 1 of the core plugin files, but this is going to be included in the upcoming version, so no worries about it. Open up the wp-content\plugins\ajax-search-pro\includes\classes\etc\indextable.class.php file on your server and scroll to line 412, which is this:

$content = $the_post->post_content;

and replace it with this one:

$content = apply_filters( 'asp_post_content_before_tokenize_clear', $the_post->post_content, $the_post );

This will allow us to temper with the post content before the tokenization process.

2. Put this into the functions.php file in the active theme directory:

3. Re-create the index table.

That's it. On my test environment this is working, so let's hope it works for you too.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)