Skip to content

Commit

Permalink
Merge pull request #20 from bootscore/v5.3.0
Browse files Browse the repository at this point in the history
v5.3.0
  • Loading branch information
crftwrk authored Jan 18, 2024
2 parents 7bb956c + d4f2325 commit 85a7bf3
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 12 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 - 2023 The bootScore Contributors
Copyright (c) 2021 - 2024 The Bootscore Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# bS Preloader
# bs Preloader

[![Packagist Prerelease](https://img.shields.io/packagist/vpre/bootscore/bs-preloader?logo=packagist&logoColor=fff)](https://packagist.org/packages/bootscore/bs-preloader)
[![Github All Releases](https://img.shields.io/github/downloads/bootscore/bs-preloader/total.svg)](https://github.com/bootscore/bs-preloader/releases)

WordPress plugin to show a preloader in Bootscore theme. Content will be shown when the page is fully loaded. When clicking a link (not # and external url), the preloader fades in again (not working on Mac Safari and all iOS Browsers) to get a smooth page transition.

Expand All @@ -9,24 +10,24 @@ WordPress plugin to show a preloader in Bootscore theme. Content will be shown w

## Installation

1. Download latest release [bs-preloader-main.zip](https://github.com/bootscore/bs-preloader/releases/latest/download/bs-preloader-main.zip).
1. Download latest release [bs-preloader.zip](https://github.com/bootscore/bs-preloader/releases/latest/download/bs-preloader.zip).
2. In your admin panel, go to Plugins > and click the Add New button.
3. Click Upload Plugin and Choose File, then select the Plugin's .zip file. Click Install Now.
4. Click Activate to use your new Plugin right away.

## Overriding templates via theme

Template files can be found within the `/bs-preloader-main/templates/` plugin directory.
Template files can be found within the `/bs-preloader/templates/` plugin directory.

Edit files in an upgrade-safe way using overrides. Copy the template into a directory within your theme named `/bs-preloader` keeping the same file structure but removing the `/templates/` subdirectory. Path must be `/your-theme/bs-preloader/[file].php`.

The copied file will now override the bS Preloader template file. Change spinner, classes or HTML as you want.
The copied file will now override the bs Preloader template file. Change spinner, classes or HTML as you want.

### Templates that can be overwritten:

- `preloader.php`

## License & Credits

- bS Preloader, MIT License https://github.com/bootscore/bs-preloader/blob/main/LICENSE
- bs Preloader, MIT License https://github.com/bootscore/bs-preloader/blob/main/LICENSE
- Plugin Update Checker, YahnisElsts, MIT License https://github.com/YahnisElsts/plugin-update-checker/blob/master/license.txt
4 changes: 2 additions & 2 deletions main.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/*Plugin Name: bS Preloader
/*Plugin Name: bs Preloader
Plugin URI: https://bootscore.me/plugins/bs-preloader/
Description: Plugin adds a preloader to Bootscore theme. <a href="https://bootscore.me/documentation/bs-preloader/">Documentation</a> | <a href="https://bootscore.me/documentation/bs-preloader/#Changelog">Changelog</a>
Version: 5.2.0
Version: 5.3.0
Tested up to: 6.4.2
Requires at least: 5.0
Requires PHP: 7.4
Expand Down
13 changes: 10 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
=== bS Preloader ===
=== bs Preloader ===

Contributors: Bastian Kreiter, Kemal Sulic

Stable tag: 5.2.0
Stable tag: 5.3.0
Tested up to: 6.4.2
Requires at least: 5.0
Requires PHP: 7.4
License: MIT License
License URI: https://github.com/bootscore/bs-preloader/blob/main/LICENSE

Plugin adds a preloader to Bootscore theme, Copyright 2021 - 2023 The Bootscore Contributors.
Plugin adds a preloader to Bootscore theme, Copyright 2021 - 2024 The Bootscore Contributors.


== Credits ==
Expand All @@ -33,6 +33,13 @@ Override plugin template by creating a folder your-theme/bs-preloader-main and p

== Changelog ==

= 5.3.0 - January 18 2023 =

* [IMPROVEMENT] Added bg-body class to #preloader 7214a63 (@crftwrk)
* [IMPROVEMENT] Removed -main branch suffix from plugin's folder. This does not affect existing bs-preloader-main installations.
* [REMOVED] Hide preloader on IE10+ 7bb956c (@crftwrk)
* [UPDATE] Update checker 5.3 b580ec7 (@crftwrk)

= 5.2.0 - December 14 2023 =

* [FEATURE] Rewrite locate template script to skip -main suffix in child folder
Expand Down
2 changes: 1 addition & 1 deletion templates/preloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @author Bootscore
* @package bs Preloader
* @version 5.2.1
* @version 5.3.0
*/

// Exit if accessed directly
Expand Down

0 comments on commit 85a7bf3

Please sign in to comment.