Category | 25 Mar 2021
One working solution I’ve stumbled upon is to call in a cycle for every existing post for each language

One working solution I’ve stumbled upon is to call  in a cycle for every existing post for each language. The problem is that my site has thousands of posts, so I think performance will be abysmal. It would really make more sense if I could simply chose the post ID I want to render in a callback by searching the translation table for a post ID with the slug. One working solution I’ve stumbled upon is to call  in a cycle for every existing post for each language. The problem is that my site has thousands of posts, so I think performance will be abysmal. It would really make more sense if I could simply chose the post ID I want to render in a callback by searching the translation table for a post ID with the slug. One working solution I’ve stumbled upon is to call  in a cycle for every existing post for each language. The problem is that my site has thousands of posts, so I think performance will be abysmal. It would really make more sense if I could simply chose the post ID I want to render in a callback by searching the translation table for a post ID with the slug.