php - wordpress sidebar content in different languages -


I am developing a site in WordPress. I used four different languages ​​(English, Spanish, French and Dutch) from the site. I have used a plugin called WP native dashboard . Using this I can find the page content in four different languages. I used the Cumbaibx to select the language and display the content. Works fine ...

I am creating a new page, selecting language and writing content in it. For the same content in different languages, I am also writing a page ID in addition to the language name:

Enter image details here

The main problem is about the sidebar, footer and header content. I have a set of sidebar, footer and header in the English language. When I select a different language (for example French) sidebar, footer and header content is displayed in English.

If I try to create the second set of sidba, try to create a header and a separate page in R, footer and other languages, which is called the French left sidebar. In French content, if I select the page as shown below:

Enter the image details here

. On the site and when I select the language as the English sidebar content displayed in the French language.

So my question is how to get sidebar content in different languages ​​when a different language is chosen from kickboxes.

Create a new page template that checks the custom sidebar additionally checkout

Comments