Tag: wordpress
-
Add Language Switcher in Posts Page Automatically by WordPress plugin Polylang
If you are multi-language IT Pro you may want to show articles in multiple languages just like me. I use Polylang in my blog to switch English and Chinese version. I used to add “Language Switcher” tag in my articles. It’s manual process that I had to remember the tag in somewhere, copy and past…
-
用WordPress插件Polylang实现在博客文章页面自动显示语言切换开关
也许你和我这种挨踢砖家一样奇葩,用多种语言写博客。我的WordPress使用Polylang显示文章的中英文版本。一般我需要在文章里加一个”Language Switcher”标签来显示语言切换。添加这个标签不是那么容易,我得把它记在某个地方,需要的时候复制、粘贴到文章里。在每篇文章里添加这个标记有点儿麻烦。另外,这个标记必须配合”Read More”标记之后使用,如果语言切换标记出现在”Read More”之前会导致首页上出现多个语言切换标记,每个语言切换标记无法知道每篇文章对应的URL是多少。看看我是如何完美解决这个问题的吧…
-
Run multiple WordPress website by different user on Nginx
There are lot of articles tell how to install and setup Nginx + PHP-FPM + MYSQL. But few talk about how to secure WordPress website on the infrastructure. If you are a Windows guy, you perhaps familiar with ACL, it’s similar in Linux world. A user or group has 3 essential permission: read, write or execute.…
-
Accelerate your WordPress website performance for Chinese visitor
Some people say China government blocked Google. But I think it’s not blocked. Chinese user is suffering a extremely slow access speed to Google websites actually. I guess China government reduced bandwidth to Google since I can access Google.com in my late night time.