27 lines
956 B
JavaScript
27 lines
956 B
JavaScript
/*
|
|
Plugin Name: OgreAlert
|
|
Plugin URI: https://plugins.cleverogre.com/plugin/ogrealert/
|
|
Description: OgreAlert is a plugin developed by CleverOgre in Pensacola, Florida.
|
|
Version: 0.1.7
|
|
Author: CleverOgre
|
|
Author URI: https://cleverogre.com/
|
|
Icon1x: https://plugins.cleverogre.com/plugin/ogrealert/?asset=icon-sm
|
|
Icon2x: https://plugins.cleverogre.com/plugin/ogrealert/?asset=icon
|
|
BannerHigh: https://plugins.cleverogre.com/plugin/ogrealert/?asset=banner
|
|
BannerLow: https://plugins.cleverogre.com/plugin/ogrealert/?asset=banner-sm
|
|
Text Domain: ogrealert
|
|
License: GPLv2 or later
|
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
Copyright: © 2020 CleverOgre, Inc. All rights reserved.
|
|
*/
|
|
|
|
(function ($) {
|
|
$(document).ready(function () {
|
|
if ($.fn.wpColorPicker) {
|
|
$('.ogrealert-color-picker').wpColorPicker();
|
|
} else {
|
|
console.log('OgreAlert Error: wpColorPicker does not exist.');
|
|
}
|
|
});
|
|
})(jQuery);
|