Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

little stone on "Polylang - Automatic term / posts creation"

$
0
0

Hi,

I will to migrate a website to wordpress. I have 5000+ articles (english / french) and I want to import these articles automatically through phpmyadmin (mass import) from a SQL file or a CSV file (don't know yet).
So I study how datas are inserted in WP database and I have a question about Polylang and the entries created in the WP_terms table. For example, when I add a category it insert the category name but also another term_id with pll_asf5vdg67 string in name and slug field. When I delete this category the record with pll_asf5vdg67 remains and another one is created.
I understood that this entry is linked to another table and that it makes the link between the two translated categories term_id but if I want to create directly in the database a category I don't know how the pll_xxxxxx string is built. I have a lot of categories and tags

Could you help me ? And if you have some other tips to help me in mass import, I will be great !

Little stone (all apologies for my frenchy english ;)

https://wordpress.org/plugins/polylang/


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>