-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from bootscore/5.1.0
Deny direct access
- Loading branch information
Showing
4 changed files
with
37 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<?php | ||
// silence is golden | ||
// silence is golden |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,28 @@ | ||
<?php | ||
/*Plugin Name: bS Masonry | ||
/*Plugin Name: bs Masonry | ||
Plugin URI: https://bootscore.me/category/archives/masonry/ | ||
Description: This plugin adds masonry.js to WordPress. It is only required if a *-masonry.php in bootScore used and replaces the card columns of Bootstrap 4, which are no longer included in Bootstrap 5. | ||
Version: 5.0.0.1 | ||
Author: Bastian Kreiter | ||
Author URI: https://crftwrk.de | ||
Description: This plugin adds masonry.js to WordPress. It's required if a *-masonry.php file in Bootscore used and replaces the card columns of Bootstrap 4, which are no longer included in Bootstrap 5. | ||
Version: 5.1.0 | ||
Tested up to: 6.4.2 | ||
Requires at least: 5.0 | ||
Requires PHP: 7.4 | ||
Author: Bootscore | ||
Author URI: https://bootscore.me | ||
License: MIT License | ||
*/ | ||
|
||
|
||
// Exit if accessed directly | ||
defined( 'ABSPATH' ) || exit; | ||
|
||
// Register masonry.pkgd.min.js | ||
|
||
/** | ||
* Register masonry.pkgd.min.js | ||
*/ | ||
function masonry_scripts() { | ||
|
||
wp_enqueue_script( 'masonry-js', plugins_url( '/js/masonry.pkgd.min.js' , __FILE__ ), array( 'jquery' ), '1.0', true ); | ||
wp_enqueue_script( 'masonry-js', plugins_url( '/js/masonry.pkgd.min.js' , __FILE__ ), array( 'jquery' ), '1.0', true ); | ||
|
||
} | ||
add_action('wp_enqueue_scripts','masonry_scripts'); | ||
} | ||
|
||
add_action('wp_enqueue_scripts','masonry_scripts'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters