Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterHi John,
I had to take a look at the source code for this, the mime type is indeed not registered between the allowed ones.
However, there is still a way to get it working, as VTT files are simple subtitle txt files:
add_filter('asp_index_file_custom_parse', 'asp_index_file_custom_parse_vtt', 10, 2); function asp_index_file_custom_parse_vtt($text, $post) { if ( $post->post_mime_type == 'text/vtt' ) { return file_get_contents(get_attached_file( $post->ID )); } return ''; }Try adding this code via the Code Snippets plugin or to the functions.php file in your theme/child theme directory – make sure to have a full server back-up first for safety. For more details you can check the safe coding guidelines.
After adding this code, create a new index and the VTT file contents should be indexed as well.
January 10, 2024 at 12:31 pm in reply to: Elementor live filtering while using Ajax Search Pro #46564Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterExactly 🙂
If you don’t mind, I will close this topic soon and mark it as resolved, feel free to open another one if you have other questions or issues.
If you like the plugin and have not rated already, feel free to leave a rating on your codecanyon downloads page and on the wordpress plugin repository, it’s greatly appreciated.
Ernest Marcinko
KeymasterThank you very much Andreas.
I believe it is going to be the Polylang compatibility. If the items are not yet translated, they are excluded by default. You can turn off the Polylang compatibility here. That should resolve the issue.
Ernest Marcinko
KeymasterHi,
Do you want to include draft products in the results by default and exclude them when you are logged in? May I ask why, because I am not sure I understand the reason.
By default draft products are not displayed in ther results, only published post types. Is there an issue somewhere?
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi,
I’m afraid not yet possible. We are working on a possible solution though, if all goes well it’s going to be available in the upcoming release. It was assigned to it, so there is hope.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi,
Thank you very much for the notice. I made an issue on the tracker and resolved it immediately, so it will be included in the upcoming release 🙂
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts