
內容簡介
輕量級載入條 (Lightweight Loading Bar)
輕鬆地在你的網站上加入類似於 YouTube 的載入條!這個外掛極其輕量,僅增加了 810 個位元組的頁面大小,並且不會在你的資料庫中添加任何內容。你可以透過設定檔更改載入條的顏色、高度和所有選項。這種預載入條的設計非常簡潔,與其他全屏條的設計相比,不會讓人感到煩擾。因為多數行動瀏覽器已經有內建的載入條,我們預設禁用了小於 600px 設備上的載入條。此外,該外掛已經經過 WP Rocket 測試,應當與其他快取外掛完全兼容。如果你遇到了問題,請在 WordPress.org 支援論壇上留言,我會盡快回覆你!如果你喜歡這個外掛,請務必在 評論區 留下你的評價!
特色
已經與 WP Rocket 快取外掛進行測試,與其他快取外掛完全兼容
易於使用,可進行簡單的自訂
可以自訂載入條的顏色和高度
可以使用漸層效果
可以在登入頁面上顯示載入條
可以將載入條設定為上方或下方
響應式及高清視網膜 (Retina) 顯示
可以在行動設備上隱藏載入條
極小的腳印,僅 810 個位元組
不會添加任何內容至你的資料庫
會在頁腳中添加代碼,以避免 JS/CSS 的渲染阻斷問題
注意事項
請前往 /wp-content/plugins/lightweight-loading-bar/config.php 以獲得有關如何自訂載入條的指示
即將推出...設定頁面!
這個外掛將會新增一個完整的管理員介面,使其更加易於使用!然而,這會讓外掛變得相對較慢,因為目前的設置方式可以直接從檔案系統中獲取選項,而如果我們有了設定頁面,就必須將它們存儲在資料庫中,這需要時間進行查詢。如果你喜歡這個版本的外掛,請查看我們在 GitHub 上回覆問題。如果對 LITE 版本的興趣持續增加,我們將為其製作一個分支,以繼續維護和改進這個外掛。
外掛標籤
開發者團隊
原文外掛簡介
Lightweight Loading Bar
Add a YouTube-style loading bar to your website easily! Extremely lightweight plugin that only adds 810 bytes to your page size. It also does not add anything to your database. Change color, height, and all options of the loading bar a configuration file easily. This style of preloader has a much more minimalist design and is not annoying at all compared to other full screen designs. Because most mobile browsers already have a built in loading bar, we allow you to disable it on devices smaller than 600px by default. This plugin has been tested with WP Rocket and should be fully compatible with other cache plugins as well. Please post bug reports, issues, and feature requests on WordPress.org Support Forums and I will respond ASAP! If you liked the plugin please rate it!
Features
Tested and fully compatible with caching plugins like WP Rocket
Easy to use and simple customization.
Customize loading bar color and height.
Option to use gradient.
Option to show loading bar on your login page.
Set the position of the bar to either top or bottom.
Responsive and Retina ready.
Option to hide on mobile devices.
Extremely small footprint at only 810 bytes.
Does not add any values to your database.
Adds code to the footer to prevent render blocking JS/CSS issues.
NOTE
Go to /wp-content/plugins/lightweight-loading-bar/config.php for instructions on how to customize the loading bar.
Coming Soon… A Settings Page!
This plugin will not be quite as lightweight, but we will be adding a full fledged GUI to the WordPress Admin! The reason it will be a bit slower is because the current setup allows the plugin to get the options directly from the filesystem, whereas if we have a settings page we will store them in a database which takes time to query. If you like this version of the plugin check out the GitHub page where we will respond to issues. If interest in the LITE version continues, we will make a fork and maintain/improve the plugin.
