Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
course:wordpress:tutorials:multisite_language_switcher:start [2018/10/31 14:31] – [Finished] riya.li | course:wordpress:tutorials:multisite_language_switcher:start [2018/11/01 16:57] (current) – removed ivy.chen | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Multisite language Switcher ====== | ||
- | |||
- | Reference: | ||
- | |||
- | ===== Installation ===== | ||
- | Install via Network Admin. | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | 如果是多站点网站,安装完Multisite language Switcher后,需要到每个子网站中设置 | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | ===== Setup ===== | ||
- | |||
- | * 1.点击dashboard> | ||
- | < | ||
- | en.zhfinh.com 和 cn.zhfinh.com设置方式和zhfinh.com设置一样 | ||
- | </ | ||
- | |||
- | * {{: | ||
- | * {{: | ||
- | * {{: | ||
- | * {{: | ||
- | * we need to choose the langauges and the “Display link to the current language” and “Description” only | ||
- | |||
- | |||
- | ===== Add to subsites widget ===== | ||
- | |||
- | 我们通常是在footer区域上看到 Multisite language switcher,所以需要将它们添加到每个子网站的widget中. | ||
- | |||
- | * 1.dashboard—-appearance—-widgets | ||
- | * {{: | ||
- | * 2.将 Multisite language switcher 拖拽添加到所要添加的footer里面 | ||
- | * {{: | ||
- | * 3.分别对 en.zhfinh.com 和 cn.zhfinh.com进行上述操作 | ||
- | |||
- | |||
- | |||
- | ===== Link Up Webpage ===== | ||
- | |||
- | ==== Existing webpage ==== | ||
- | |||
- | * 1.Go to "Page > All Pages" | ||
- | * 2.Edit the page we want | ||
- | * 3.On top-right, there is a box " | ||
- | * Choose the corresponding webpages in other languages from the dropdown | ||
- | * 对每一个page进行上述操作 | ||
- | |||
- | |||
- | |||
- | ==== New webpage ==== | ||
- | |||
- | * 在en.zhfinh.com , cn.zhfinh.com 和 zhfinh.com 中分别add new page,分别命名为“demo”,“示范”,“示範“ | ||
- | * 每一个子网站中的pages—-“demo”,“示范”,“示範“中,在右上角“Multisite language switcher”选项卡中,从下拉列表中选择其他语言的相应网页 | ||
- | * {{: | ||
- | |||
- | |||
- | ==== Finished ==== | ||
- | |||
- | * 1.当所以pages选择了相对应的其他语言的网页,在all pages页面的右手边,其他两个语言的转换器下方的icon颜色为黄色 | ||
- | * {{: | ||
- | |||
- | |||
- | |||
- | |||
- | |||