| 1 |
<?php |
| 2 |
/* |
| 3 |
Plugin Name: Simple Ticker |
| 4 |
Version: 2.02 |
| 5 |
Description: Displays the ticker. |
| 6 |
Author: Katsushi Kawamori |
| 7 |
Author URI: https://riverforest-wp.info/ |
| 8 |
Text Domain: simple-ticker |
| 9 |
Domain Path: /languages |
| 10 |
*/ |
| 11 |
|
| 12 |
/* Copyright (c) 2016- Katsushi Kawamori (email : dodesyoswift312@gmail.com) |
| 13 |
This program is free software; you can redistribute it and/or modify |
| 14 |
it under the terms of the GNU General Public License as published by |
| 15 |
the Free Software Foundation; version 2 of the License. |
| 16 |
|
| 17 |
This program is distributed in the hope that it will be useful, |
| 18 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 |
GNU General Public License for more details. |
| 21 |
|
| 22 |
You should have received a copy of the GNU General Public License |
| 23 |
along with this program; if not, write to the Free Software |
| 24 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 25 |
*/ |
| 26 |
|
| 27 |
add_action( 'plugins_loaded', 'simple_ticker_load_textdomain' ); |
| 28 |
function simple_ticker_load_textdomain() { |
| 29 |
load_plugin_textdomain('simple-ticker'); |
| 30 |
} |
| 31 |
|
| 32 |
if(!class_exists('SimpleTickerRegist')) require_once( dirname(__FILE__).'/lib/SimpleTickerRegist.php' ); |
| 33 |
if(!class_exists('SimpleTickerAdmin')) require_once( dirname(__FILE__).'/lib/SimpleTickerAdmin.php' ); |
| 34 |
if(!class_exists('SimpleTickerWidgetItem')) require_once( dirname(__FILE__).'/lib/SimpleTickerWidgetItem.php' ); |
| 35 |
if(!class_exists('SimpleTicker')) require_once( dirname(__FILE__).'/lib/SimpleTicker.php' ); |
| 36 |
|
| 37 |
?> |