Skip to main content
We are Brand SEO Beijing serving international business, your marketing partner, Contact us by

Website construction Chinese and English language function Polylang

people to translate.But for all those who want to manage multilingual sites, this plugin is handy to use.
You need to add the languages ​​your site should support on the plugin settings page (the plugin supports nearly 100 languages).Each language is added individually and you need to choose a unique two-letter code for it.You can also select a language name or click on the corresponding flag icon.
Now you can translate any article, page, article form, comment, category, tag or menu!It should be emphasized that you don't need to translate every article, you only need to translate what you need.
Each translation will generate a unique URL address with the two-letter code you specified during setup.The user can use the corresponding widget to switch.
If you want to switch from WPML to Polylang, there are specialized plugins available.
If you have installed WPML but switched to Polylang, you need to install the WPML to Polylang plug-in at the same time, otherwise, there will be problems with the historical data, and the data will need to be updated again.

polylang doesn't create new database table

And WPML has to create a lot of new database tables to implement functions, depending on your habits, which one do you like?

How to switch header and footer in polylang

The WordPress Polylang plugin seems to complement the translation footer pin tool, so I've been wondering how to translate the footer pin tool.Therefore I want to create different footers for different languages ​​and call the correct footer through a function, in my self-themed function, like this:

function switch_footer_language() {
    if(pll_current_language=='th') {
    } elseif(pll_current_language=='en') {

Can this work?

Back to Top