Index/Create more posts of the current post
-
Hi,
I am using a multilingual plugin called WPGlobus. The way this language plugin stores languages in the database is like this:
{:sv}Svenska{:}{:en}English{:}{:de}Deutsch{:}
What works perfectly for me is that I can index a single product perfectly by making sure one language is syncable to Algolia.
My main question here is that I need to create 2 more posts of the current post that is syncing so we can switch language on the site and the results would be searching for English respectively German versions of the products.
The function/filter I am calling in WordPress is:
algolia_searchable_post_records
How do I create 2 more posts of the post? What function/filter do I use so I can push different languages of the post to Algolia?
Best regards.
- The topic ‘Index/Create more posts of the current post’ is closed to new replies.