J
J
jww2018-12-11 23:35:24
Internationalization and localization
jww, 2018-12-11 23:35:24

How to solve a problem with Polylang (multilingualism)?

Good day. The user of a WordPress site has a personal account (not the native WordPress admin panel) in which he can create posts by clicking a button. The entry has only a title and a unique code. Posts are created through the wp_insert_post() function. But the problem is that the site has a Polylang plugin and for multilingualism you need two entries (each language has its own entry), but if I make two entries, then each will have a different unique code. How can I get around this feature and make both languages ​​in one entry?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question