41 lines
2.1 KiB
JavaScript
41 lines
2.1 KiB
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.
|
|
|
|
.-'''-.
|
|
' _ \ .---.
|
|
/ /` '. \ __.....__ | | __.....__
|
|
. | \ ' .--./) .-'' '. | | .-'' '.
|
|
| ' | '/.''\\ .-,.--. / .-''"'-. `. | | / .-''"'-. `. .-,.--. .|
|
|
\ \ / /| | | | | .-. |/ /________\ \ __ | |/ /________\ \| .-. | .' |_
|
|
`. ` ..' / \`-' / | | | || | .:--.'. | || || | | | .' |
|
|
'-...-'` /("'` | | | |\ .-------------'/ | \ | | |\ .-------------'| | | |'--. .-'
|
|
\ '---. | | '- \ '-.____...---.`" __ | | | | \ '-.____...---.| | '- | |
|
|
/'""'.\ | | `. .' .'.''| | | | `. .' | | | |
|
|
|| ||| | `''-...... -' / / | |_'---' `''-...... -' | | | '.'
|
|
\'. __// |_| \ \._,\ '/ |_| | /
|
|
`'---' `--' `" `'-'
|
|
*/
|
|
|
|
jQuery(function ($) {
|
|
$(document).on('ready', function () {
|
|
if ($.fn.wpColorPicker) {
|
|
$('.ogrealert-color-picker').wpColorPicker();
|
|
} else {
|
|
console.log('OgreAlert Error: wpColorPicker does not exist.');
|
|
}
|
|
});
|
|
});
|