-
Notifications
You must be signed in to change notification settings - Fork 6
/
post-collection-widget.php
37 lines (33 loc) · 1.31 KB
/
post-collection-widget.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
* Plugin Name: JS Widgets: Post Collection Widget
* Description: A widget allowing for featuring a curated list of posts.
* Plugin URI: https://github.com/xwp/wp-js-widgets/
* Version: 0.4.3
* Author: XWP
* Author URI: https://make.xwp.co/
* License: GPLv2+
*
* @package JS_Widgets
*/
/*
* Copyright (c) 2016 XWP (https://xwp.co/)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2 or, at
* your discretion, any later version, as published by the Free
* Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
require_once dirname( __FILE__ ) . '/post-collection-widget/class-plugin.php';
global $post_collection_js_widgets_plugin;
$post_collection_js_widgets_plugin = new Post_Collection_JS_Widgets_Plugin();
add_action( 'plugins_loaded', array( $post_collection_js_widgets_plugin, 'init' ), 11 );