-
Notifications
You must be signed in to change notification settings - Fork 0
/
cpc-people.php
27 lines (19 loc) · 898 Bytes
/
cpc-people.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
<?php
/*
Plugin Name: CPC People
Description: Display CPC Mugboard, Faces of CPC and Greetings and Farewells widgets
Version: 1.1
Author: Tony Bird
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
include( plugin_dir_path( __FILE__ ) . 'options-menu.php');
$opts = get_option( 'cpc_people_options' );
$peopledb = new wpdb($opts['username'], $opts['password'], $opts['table'], $opts['hostname']);
include( plugin_dir_path( __FILE__ ) . 'widgets/faces-widget.php');
include( plugin_dir_path( __FILE__ ) . 'widgets/greetings-widget.php');
include( plugin_dir_path( __FILE__ ) . 'shortcodes/mugboard.php');
//Datatables demo shortcodes
// include( plugin_dir_path( __FILE__ ) . 'shortcodes/mugboard-dt.php');
// include( plugin_dir_path( __FILE__ ) . 'shortcodes/searchable-dt.php');
?>