標籤: WordPress
透過 HTTP/2 的 Server Push 技術加速 WordPress
Server Push allows you to push a set of files down to the browser along with the request for the HTML even before the HTML is parsed. This means sending things like logos and CSS before the browser knows to request them, and thus speeding up the perceived load time of your page.
Let’s say that you had a site that runs on PHP, which of course your WordPress instance does, and you wanted to use HTTP2 Server Push to push down two CSS files and your logo.
You can use the following code which will do just that for you…
來源: Configuring HTTP2 Push with WordPress | Responsive Web Design
WordPress 在 PHP 7.1 上的相容性、效能與速度
簡單來說,PHP 7.1 比舊版快了至少25%,在 WordPress 的相容性方面:基本上沒什麼問題,運作很正常。除非有什麼特別的外掛會造成其他問題。
簡單來說,PHP 7.1 比舊版快了至少25%,在 WordPress 的相容性方面:基本上沒什麼問題,運作很正常。除非有什麼特別的外掛會造成其他問題。
WordPress
How to Create Adsense Revenue Sharing for Multi-Author Blog
Learn how to manually implement Adsense Ad code for sharing author revenue in a multi author WordPress website. No Adsense WordPress plugins is required.
來源: How to Create Adsense Revenue Sharing for Multi-Author Blog
WordPress 完美解決文章 POST ID 不連續問題
看了老半天,原來上傳的圖檔什麼的也會佔用 POST ID, 那就算了!改了也沒用啊~~~~
有很多WordPress博客的固定链接中使用了文章ID,但是WordPress由于种种原因导致了文章ID不连续的问题,也经常有博友在论坛中提问要解决这个问题,但是很少能够得到他们满意的答复。今天我就来告诉你如何完美的解决这个问题,说是完美,可能有点过了,不过还请继续往下看如何解决这个问题。