I have a separate template for displaying a separate page, as well as the main page, where the preview of records from different categories is displayed.

Website in 3 languages ​​- decided to implement through multisite. The problem is that for each version of the site you need a separate topic, and you need to re-create categories and entries in each site again. Accordingly, the id categories and records will be different for each version of the site.

I thought to make a selection by the name of the category or article, but if the user renames the name of the article or category, the code will not work.

By what criteria is it better to choose a post in WordPress?

  • I did not understand the question. But why decided to make a multisite instead of taking some polylang , say? - etki
  • We decided via multisite because we use rtl languages. The question is that it is better to specify in get_post or in similar functions, the number of the post, the category .... or their name. - YuriiChmil
  • 3
    "We decided through a multisite because we use rtl languages." - in general, it does not tell me anything, it should work exactly the same way on a normal installation. get_post and most other functions do not work except via ID, so your choice is not particularly rich. - etki

2 answers 2

I think if you want to do all this, you should do it on WPML or its equivalent. I think you need to dock all the categories on these sites, but for this you have to write. I understand you should take a sample from three sites and make them an additional id when you join. And it is already synchronized posts.

    I recommend in this situation to resort to WPML - WordPress Multilingual Plugin.

    You are now optimizing such requests here, pile them up even more. Believe me - WPML pays off on the very first site.