內容簡介
截至2011年1月,約有86%的網路使用者使用寬度大於1024的瀏覽器。相反的,14%的使用者使用不到1024的瀏覽器寬度。如果您要編寫一個固定寬度的WordPress佈景主題,而不是流動寬度,那麼您的選擇會受限。您可以:
a)為寬度大於1024的86%的使用者進行設計,因此有可能會惹怒14%的訪客;或者
b)為寬度小於1024而無法充分利用最大設計區域。
現在,通過WP Themes by Screensize外掛,您兩者都可以實現。 WP Themes by Screensize允許您根據他們的瀏覽器寬度決定要向網站訪問者顯示哪個佈景主題。如果寬度超過您設定的特定閾值,它將顯示一個主題。如果低於閾值,將顯示不同的主題,使您有機會為每種情況創建修改的佈景主題。
該插件使用不識別的cookie和JavaScript…如果兩者都沒啟用,該插件會平滑地降級到基本安裝主題。Cookie週期可以設置為任何您想要的時間,以便在該時間之後,如果用戶更改其瀏覽器大小,在下一個頁面更改上將檢測到新設置。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
As of January 2011, some 86% of web users were using a browser with a screenwidth of greater than 1024. Conversely, 14% of users were using a browser less than 1024 wide. If you are coding a wordpress theme that is going to be static width, rather than fluid, this leaves you with limited choices. Do you
a) design for greater than 1024 to exploit the width used by the 86%, and thereby risk annoying 14% of your visitors or do you
b) design for less than 1024 and fail to exploit the maximum design area?
With WP Themes by Screensize you can now do both. WP Themes by Screensize will allow you to determine which theme to display to the site visitor depending on their browser width. If the width is determined to be above a specific threshold, which you set, it will display one theme. If it is below that threshold, it will display a different one, giving you the opportunity to create a modified theme to use in each case.
The plugin uses non identifying cookies and javascript… if either of these are not enabled the plugin degrades smoothly to the basic installed theme. The cookie period can be set to anything you want, so that if the user changes their browser size after that time, on the next page change the new settings are detected.
