| 1 |
<?php |
| 2 |
/* |
| 3 |
Plugin Name: Newpost Catch |
| 4 |
Plugin URI: http://www.imamura.biz/blog/newpost-catch/ |
| 5 |
Description: Thumbnails in new articles setting widget. |
| 6 |
Version: 1.3.3 |
| 7 |
Author: Tetsuya Imamura |
| 8 |
Text Domain: newpost-catch |
| 9 |
Author URI: http://www.imamura.biz/blog/ |
| 10 |
License: GPL2 |
| 11 |
*/ |
| 12 |
|
| 13 |
//Include |
| 14 |
include "class.php"; |
| 15 |
|
| 16 |
//Hook |
| 17 |
add_action( 'widgets_init', function(){ register_widget( 'NewpostCatch' ); }); |
| 18 |
|
| 19 |
//Instance |
| 20 |
new NewpostCatch_SC(); |
| 21 |
|
| 22 |
/* Copyright Tetsuya Imamura (@s56bouya) |
| 23 |
|
| 24 |
This program is free software; you can redistribute it and/or modify |
| 25 |
it under the terms of the GNU General Public License, version 2, as |
| 26 |
published by the Free Software Foundation. |
| 27 |
|
| 28 |
This program is distributed in the hope that it will be useful, |
| 29 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 30 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 31 |
GNU General Public License for more details. |
| 32 |
|
| 33 |
You should have received a copy of the GNU General Public License |
| 34 |
along with this program; if not, write to the Free Software |
| 35 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 36 |
*/ |