Best Preloader

外掛說明

An easy to use, with intuitive interface, WordPress plugin that gives you the ability to easily and safely add a preloader (animated loading screen indicator) to your WordPress website.

This plugin give you finer control over preloader, it can be configured on the plugin settings page. You can select where the preloading page will be showed, such as home page or all pages. You can replace default preloader image with your own image. You can change the size of image, and etc. If you want more options, then let us know and we will be happy to add them.

Its purpose is to provide a familiar experience to WordPress users. You don’t need to edit any file of your theme, this plugin will do everything for you. It’s just plug and play, no tedious configurations or hacks, just install, enable and start enjoying your fancy preloader. It’s that simple! In addition, your preloader will be compatible with all major browsers and work with any theme.

Features

  • Lightweight and fast
  • Secure code with using clear coding standards
  • Intuitive interface with many settings
  • Cross browser compatible (work smooth in any modern browser)
  • Compatible with all WordPress themes
  • RTL compatible (right to left)
  • Translation ready

Key features include

  • Background color changer (Unlimited colors)
  • Changeable preloader image
  • Have default animated GIF preloader image
  • Option to enable/disable preloader
  • Option to display preloader in full website or in Home page only
  • Option to set the delay before the preloader appears
  • And much, much more!

Translation

This plugin is ready for translation and has already been translated into several languages. But If your language is not available then you can make one. It is also possible that not all existing translations are up-to-date or correct, so you are welcome to make corrections. Many of plugin users would be delighted if you share your translation with the community. Thanks for your contribution!

  • English (default)
  • Russian (translation by Milena Kiseleva)
  • German (translation by Michael)
  • Spanish (translation by Ramiro Garcés and Patricio Toledo)
  • Dutch (translation by Peter Leenders)
  • French (translation by Jean-Michel, Theophil Bethel and Hervé Bouzin)

If you want to help translate this plugin, please visit the translation page.

Minimum system requirements:

  • PHP version 5.2 or higher.
  • MySQL version 5.0 or higher.

Recommended system requirements:

  • PHP version 7.0 or higher.
  • MySQL version 5.6 or higher.

Contribution

Developing plugins is long and tedious work. If you benefit or enjoy this plugin please take the time to:

“Best Preloader” is one of the own software projects of Space X-Chimp.

License

This plugin is licensed under the GNU General Public License, version 3 (GPLv3) and is distributed free of charge.
Commercial licensing (e.g. for projects that can’t use an open-source license) is available upon request.

Credits

Links

螢幕擷圖

  • Plugin page.
  • Preloader displayed on the website with "Anarcho Notepad" theme. Used default image (spinner with text) and default (white) color of background.
  • Preloader displayed on the website with "Anarcho Notepad" theme. Used default image (spinner with text) and custom (black) color of background.

安裝方式

Install “Best Preloader” just as you would any other WordPress Plugin.

Automatically via WordPress Admin Area:

  1. Log in to Admin Area of your WordPress website.
  2. Go to “Plugins” -> “Add New“.
  3. Find this plugin and click install.
  4. Activate this plugin through the “Plugins” tab.

Manually via FTP access:

  1. Download a copy (ZIP file) of this plugin from WordPress.org.
  2. Unzip the ZIP file.
  3. Upload the unzipped catalog to your website’s plugin directory (/wp-content/plugins/).
  4. Log in to Admin Area of your WordPress website.
  5. Activate this plugin through the “Plugins” tab.

After installation and activation, the “Preloader” menu item will appear in the “Settings” section of Admin Area. Click on it in order to view the plugin settings page.

More help installing plugins

常見問題集

Q. Will this plugin work on my wordpress.COM website?

A. Sorry, this plugin is available for use only on self-hosted (wordpress.ORG) websites.

Q. Can I use this plugin on my language?

A. Yes. This plugin is ready for translation and has already been translated into several languages. But If your language is not available then you can make one. It is also possible that not all existing translations are up-to-date or correct, so you are welcome to make corrections. Many of plugin users would be delighted if you share your translation with the community. Thanks for your contribution!

If you want to help translate this plugin, please use the POT file that is included and placed in the languages folder to create a translation PO file. Just send the PO file to us and we will include this translation within the next plugin update.

Q. How does it work?

A. Simply go to the plugin settings page, select the desired settings and click the “Save changes” button. Enjoy your fancy preloader. It’s that simple!
You can find the plugin settings page at “WordPress Admin Area” -> “Settings” -> “Preloader“.

Q. How can I upload my image?

A. You can put the URL of image to the “Preloader image” field.

Q. Does this plugin requires any modification of the theme?

A. Absolutely not. This plugin is configurable entirely from the plugin settings page that you can find in the Admin Area of your WordPress website.

Q. Does this require any knowledge of HTML or CSS?

A. Absolutely not. This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page.

Q. It’s not working. What could be wrong?

A. As with every plugin, it’s possible that things don’t work. It’s impossible to tell what could be wrong exactly. The most common reason for this is a web browser’s cache. Every web browser stores a cache of the websites you visit (pages, images, and etc.) to reduce bandwidth usage and server load. This is called the browser’s cache. Clearing your browser’s cache may solve the problem.

If you post a support request in the plugin’s support forum on WordPress.org, we’d be happy to give it a look and try to help out. Please include as much information as possible, including a link to your website where the problem can be seen.

Q. The last WordPress update is preventing me from editing my website that is using this plugin. Why is this?

A. This plugin can not cause such problem. More likely, the problem are related to the settings of the website. It could just be a cache, so please try to clear your website’s cache (may be you using a caching plugin, or some web service such as the CloudFlare) and then the cache of your web browser. Also please try to re-login to the website, this too can help.

Q. Where to report bug if found?

A. Bug reports are very welcome! Please visit our contact page and report. Thank you!

Q. Where to share any ideas or suggestions to make the plugin better?

A. Any suggestions are very welcome! Please visit our contact page and share. Thank you!

Q. I love this plugin! Can I help somehow?

A. Yes, any contributions are very welcome! Please visit our donation page. Thank you!

使用者評論

2018 年 6 月 22 日
This plugin was a waste of time. It does not work correctly. The preloader appears after the page is loaded :S The use of a preloader image is a bad idea use an icon or svg instead...
2018 年 3 月 26 日
It really is the best app for what it offers, it's strange how it doesn't have many reviews. Keep up the great work!
2016 年 10 月 4 日
Simple plugin very easy to use! Excellent job! It is just what I was looking for. Thank you very much!
閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Best Preloader〉的開發相關工作。

參與者

Best Preloader 外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 Best Preloader 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

4.35 – Nov 11, 2019

  • Maintenance: Compatibility with upcoming WordPress 5.3.
  • Framework update: Bootstrap library updated to the latest version; v3.4.1.
  • Framework update: The list control has been redesigned.

4.34 – Oct 2, 2019

  • French translation updated. (Thanks to Hervé Bouzin)

4.33.1 – Jul 16, 2019

  • Fixed: Prints a warning since PHP/7.1: “Notice: A non well formed numeric value encountered in /inc/php/versioning.php on line 43”.

4.33 – Apr 9, 2019

  • Improvement: The options on the plugin settings page are better named, described, sorted and grouped.

4.32 – Mar 31, 2019

  • Fix: Not all text strings have been prepared for translation.
  • The option “Enable preloader” is deleted because of uselessness.
  • Framework updated: Code commenting improved.
  • Framework updated: The change log design is improved.

4.31 – Mar 24, 2019

  • Framework updated: Added function “_plugin”, which returns an array with the contents of plugin constants. The mention of plugin constants is replaced by the use of the function “_plugin”.
  • Framework updated: The function “_settings_link” is improved.
  • Framework updated: The function “_plugin_row_meta” is improved.
  • Framework updated: Code formatting improved.
  • Framework updated: Code commenting improved.
  • Framework updated: All translation files are updated.

4.30 – Mar 18, 2019

  • Improvement: Notification display system updated
  • Code commenting improved.
  • Style sheet for the back end is optimised.

4.29 – Mar 1, 2019

  • Framework updated: The file “page.php” is divided into the following parts: “page.php”, “usage.php”, “faq.php”, “support.php”.
  • Framework updated: The files “settings.php”, “usage.php”, “faq.php”, “support.php” are moved to the subfolder “tabs”.

4.28 – Feb 24, 2019

  • Added French translation. (Thanks to Hervé Bouzin)

4.27 – Feb 21, 2019

  • The readme “Tested up to:” value changed to 5.1 after full testing process and ensuring compatibility.
  • Content of the “F.A.Q.” section updated.
  • Some texts are corrected or replaced with new ones.
  • All translation files are updated.
  • Code formatting improved.
  • Added CSS class “.custom-list” for displaying a custom list, which is used on the plugin settings page.
  • The “humans.txt” file updated.

4.26 – Jan 11, 2019

  • Content of the “Usage” section updated.
  • Code formatting in the “admin.js” file improved.
  • Code commenting improved.
  • The copyright date updated.
  • Translation files are updated.

4.25 – Nov 2, 2018

  • Improvement: Design of the plugin settings page is improved.

4.24 – Oct 23, 2018

  • Improvement: Design of the plugin settings page is improved.

4.23 – Oct 9, 2018

  • Content of the “Settings” section updated.
  • Content of the “Usage Instructions” section updated.
  • CSS code, which is located in the file “admin.css” and is related to the “FAQ” section, is improved.
  • Code commenting improved.
  • Translation files are updated.

4.22 – Jul 24, 2018

  • Dutch translation added. (Thanks to Peter Leenders)
  • The code block that adds dynamic JavaScript is moved to a separate function ‘_load_scripts_dynamic_js’ within the ‘enqueue.php’ file.
  • The code block that adds dynamic CSS is moved to a separate function ‘_load_scripts_dynamic_css’ within the ‘enqueue.php’ file.
  • The function ‘_load_scripts_base’ is deleted due to uselessness.
  • The function ‘_load_scripts_admin’ is improved.
  • The function ‘_load_scripts_frontend’ is improved.
  • The banner of Space X-Chimp, located on the settings page of the plugin, is updated. The image ‘banner.png’ is deleted.
  • Some texts are updated.
  • All translation files are updated.

4.21 – Jul 13, 2018

  • The extra mention of the constant ‘_SLUG’ is removed from the file ‘enqueue.php’.
  • All translation files are updated.

4.20 – Jun 4, 2018

  • Fixed a bug due to which the plugin data that stored in the database to not be deleted during the uninstallation of the plugin.
  • The contents of the file ‘uninstall.php’ is moved to the file ‘core.php’. The file ‘uninstall.php’ is deleted.
  • Some texts are corrected.

4.19 – May 20, 2018

  • Added new constant “_FILE”.
  • Added a function that runs during the plugin activation. Now the date of the first activation of the plugin is recorded in the database.

4.18 – May 6, 2018

  • Added auto-versioning of the CSS and JavaScript files to avoid cache issues.
  • CSS code in the file ‘admin.css’ is optimized.

4.17 – Apr 25, 2018

  • Fixed the link “Settings”, located in the plugin’s meta row on the “Plugins” page. The suffix “.php” was deleted.
  • Fixed information stored in the header of the translation files.
  • Translation files updated.

4.16 – Apr 20, 2018

  • Some texts updated, and typos corrected.
  • All translation files updated.
  • The information about the author of the plugin (including name, links, copyright, etc.) was changed due to the fact that the plugin became the property of SpaceXChimp.
  • The “humans.txt” file updated.

4.15 – Jan 22, 2018

  • Texts updated.
  • The year in the copyright text is updated.
  • The sidebar items are rearranged.
  • Translation files updated.

4.14 – Nov 13, 2017

  • The plugin is fully tested for compatibility with WordPress version 4.9.
  • CSS code improved.

4.13 – Oct 28, 2017

  • German translation added. (Thanks to Michael)
  • Spanish translation updated. (Thanks to Patricio Toledo)
  • Fixed an issue where the “Hello” message could not be hidden.

4.12 – Sep 23, 2017

  • At the request of some users, plugin settings page moved to the submenu item in the top-level menu item “Settings”, like before.

4.11 – Sep 19, 2017

  • Added branded footer text on the plugin’s settings page.

4.10 – Sep 17, 2017

  • The hard coded HTML radio options are replaced with the PHP function that dynamically creates radio.

4.9 – Sep 15, 2017

  • Added the top level menu item of the brand.
  • The submenu item of the plugin has moved to the menu item of the brand.
  • The menu item of the plugin is renamed.
  • The “Author” tab on the settings page is removed.
  • Content of the “Support” tab on the settings page is updated.
  • Copyright of plugin files is changed to the “Space X-Chimp”.
  • The “Support” tab renamed to the “Support Me”.
  • The “Usage” tab renamed to the “Usage Instructions”.

4.8 – Sep 8, 2017

  • Plugin data that saved in the database upgraded to version 0001.

4.7 – Aug 30, 2017

  • Added Spanish translation. (Thanks Patricio Toledo)
  • Function that render controls on the settings page is moved to a separate file ‘controls.php’.
  • The ‘_setting’ function divided into two functions: ‘_control_field’ and ‘_control_switch’.
  • Added CSS class ‘control-switch’ to checkboxes with custom styles. Now the ‘bootstrap-checkbox.js’ plugin only applies to checkboxes with class ‘control-switch’.
  • The group name of the ‘_service_info’ option renamed to ‘_settings_group_si’.
  • The ‘admin.css’ file improved.
  • The “Font Awesome” library is integrated for use on the plugin settings page.
  • The save button is replaced by a new wider button.
  • Added an additional save button that fixed in the upper left corner.
  • The help text generating is moved to separate PHP function.
  • Added PHP function for generating the color picker options.
  • Prefixes of the PHP functions changed to ”spacexchimp_p007_.
  • Prefixes of the PHP constants changed to ”SPACEXCHIMP_P007_.

4.6 – Aug 10, 2017

  • Russian translation updated. (Thanks to Milena Kiseleva)
  • The navigation of the tabs is rearranged.
  • Fixed an issue due to which the sidebar was not hiding on mobile devices.
  • Code of sidebar moved to separate file ‘sidebar.php’.
  • Support page tab moved from external source to plugin code.
  • My avatar moved from external source to plugin folder.
  • Banner moved from external source to plugin folder.
  • Code of PayPal button updated.

4.5 – Aug 8, 2017

  • Preview section on the settings page changed to live preview.
  • Stylesheet in the admin.css file improved.
  • The ‘!important’ declarations in the admin.css file removed.
  • Code formatting in the admin.js file improved.
  • Code commenting improved.
  • Load of the additional remote CSS file removed from the admin.js file.
  • Some PHP ‘if’ statements replaced with shorthand.
  • Inline CSS code removed, and instead added CSS class. The ‘bestpreloader_css_options’ function removed.
  • Changed the sorting of enqueueing of scripts. The ‘bestpreloader_load_scripts_base’ function added.
  • Fixed the issue with pause before loading preloader on pages.
  • The ‘Family’ page tab renamed to ‘Store’.
  • Added ad banner of my store website.

4.4.1 – Jun 21, 2017

  • The HTTPS mixed content issue fixed by changing all links to HTTPS.
  • Content of the “FAQ” section updated.

4.4 – Jun 16, 2017

  • On the plugin settings page, text of buttons are corrected.
  • On the plugin settings page, the information about the plugin version number moved to header section.
  • Some mention of constants replaced with variables for easier access.
  • Content of the “Usage” tab updated.
  • Content of the “FAQ” tab updated.
  • Added load of the jQuery library on the plugin settings page.

4.3 – Jun 4, 2017

  • To the plugin settings page added information about the plugin version number.
  • The “Tested up to:” comment changed to 4.8 after full testing process.
  • The “version.php” file renamed to “versioning.php”.
  • The “versioning.php” file updated to new version.
  • The “_plugin_version_number” function renamed to the “_versioning”.

4.2 – May 26, 2017

  • Compatibility with PHP version 5.2 improved.
  • PHP shorthands improved.
  • Added function for generating the plugin constants.
  • Some constants now get the value from the plugin header data.
  • The “_plugin_version_number” function improved.
  • Added missing PHP shorthands with default values to settings page.
  • Added file “upgrade.php” for future upgrades.

4.1.1

  • Fixed the bug due to which the “Warning: Constants may only evaluate to scalar values in” warning are displayed.

4.1 – May 24, 2017

  • Added new constants: “_SLUG”, “_PREFIX”, “_SETTINGS” and “_NAME”.
  • Value of the “_VERSION” constant replaced with information from the plugin header data.
  • All references to the plugin name, slug, prefix are replaced with constants.
  • Added function that render checkboxes and fields for saving plugin settings to database.
  • Added default values to empty options.
  • Added prefix to the name of the variable in ‘wp_localize_script’ WordPress function, to prevent conflicts.
  • The “_load_scripts_base” function improved.
  • The “name” attribute removed from the “form” tag.
  • Code formatting improved.
  • F.A.Q. section updated.

4.0.1 – May 12, 2017

  • Fixed the bug due to which the the “Warning: Illegal string offset ‘version’ in” and the “Warning: Illegal string offset ‘old_version’ in” warnings are displayed. (Thanks to Sven Brill)

4.0 – May 8, 2017

  • The design of the plugin settings page is completely redone.
  • Added French translation. (Thanks Jean-Michel)
  • Added additional donate link to the “Plugins” page.
  • Readme for translations updated.
  • Advertisement banner removed.
  • The ‘Using’ section renamed to ‘Usage’.
  • My Unicode signature added to the main file.
  • The ‘preloader.css’ and ‘preloader.js’ files renamed to ‘frontend.css’ and ‘frontend.js’.
  • The donate button replaced with new.
  • The ‘Donate’ section renamed to ‘Support’.
  • The ‘donate.png’ image removed.
  • Options from the settings page moved to a separate file.
  • Fixed a bug due to which the jQuery library was not loaded on the front end of the website if the visitor did not logged-in.
  • The “Usage” section removed from the sidebar area.
  • Added stylized descriptions of sections on the “Settings” tab.
  • Additional “Support” section added.
  • Added tab navigation menu for the settings page.
  • Added additional tabs on the settings page.
  • Code of the ‘admin.css’ file improved and better commented.
  • The ‘bootstrap-checkbox.min.js’ file renamed to ‘bootstrap-checkbox.js’.
  • A full version of the Bootstrap framework is integrated.
  • Added the CSS code for the custom list numbers on the plugin settings page.
  • The main font is changed to “Verdana”.
  • All PHP and HTML code is better formatted.
  • The header on the settings page of plugin is redesigned.
  • The “Preview” section is improved.
  • The “LICENSE.txt” file renamed to “license.txt”.
  • The “humans.txt” file added.
  • On the plugin settings page, the “valign=’top'” attribute removed from the “tr” element of HTML table and added the appropriate analog in CSS .
  • Fixed the time when preloader is loading. Preloader (HTML code) moved from footer to head section of website.
  • The default settings added.
  • The “_service_info” setting added to the data-base.
  • Added function for managing information about the version number of the plugin.
  • Added the “Hello” message that show when the plugin is just installed.
  • Added the “Error” message that show when user is trying to degrade the version number of the plugin.
  • Fixed the parameter that contain the path to source files in all translation files.
  • The POT file updated.
  • Translations updated.

3.2 – Nov 2, 2016

  • Added the Readme.txt file for translation contribution.
  • Added global constant for plugin text-domain.
  • Translations updated.
  • Ad banner replaced with new.

3.1 – Sep 3, 2016

  • Added prefixes to the stylesheet and script names when using wp_enqueue_style() and wp_enqueue_script().
  • Added constant for storing the plugin version number.

3.0 – Aug 30, 2016

  • The structure of files changed.
  • Style sheet of settings page improved and better commented.
  • Style sheet of settings page optimized for mobile devices.
  • JS code improved.
  • Added JavaScript function of automatic remove the “successful” message after 3 seconds.
  • Checkboxes replaced with cool triggers by using Bootstrap framework and Bootstrap-checkbox component.
  • Fixed error that appeared when preloader is disabled.

2.1.1 – Aug 23, 2016

  • POT file updated.
  • Russian translation updated.
  • Image “thanks.png” removed.
  • Advertisement replaced by new.
  • Added the subject with plugin name to email address on settings page.
  • On settings page, size of field of “Preloader image size” option changed to 3.
  • Function “bestpreloader_enqueue_scripts_admin” renamed to “bestpreloader_load_scripts_admin”.
  • Function “bestpreloader_enqueue_scripts_frontend” renamed to “bestpreloader_load_scripts_frontend”.

2.1 – Jun 15, 2016

  • Added option to set the delay before the preloader appears.
  • CSS code of preloader is improved.

2.0 – Apr 9, 2016

  • Some changes in design of settings page.
  • Constants variables added.
  • Text domain changed to “best-preloader”.
  • Added compatibility with the translate.wordpress.org.
  • All images are moved to the directory “images”.
  • Plugin URI changed to GitHub repository.
  • Added my personal ad about freelance.
  • .pot file updated.
  • Russian translation updated.

1.1 – Feb 24, 2016

  • Added Russian translation.
  • Added HTML tag < No Script > in order to hide preloader if JavaScript is disabled in user’s browser.

1.0 – Feb 18, 2016

  • Initial release.
  • Added ready for translation (.pot file included).

0.3

  • Release candidate.

0.2

  • Beta version.

0.1

  • Alpha version.