forked from pensandoodireito/wp-side-comments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wp-side-comments.php
39 lines (29 loc) · 1.23 KB
/
wp-side-comments.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
38
39
<?php
/*
Plugin Name: WP Side Comments
Plugin URI: http://ctlt.ubc.ca/
Description: Based on aroc's Side Comments .js to enable inline commenting
Author: CTLT Dev, Richard Tape
Author URI: http://ctlt.ubc.ca
Version: 0.1.3
*/
// PHP 5.3 and later:
namespace Delibera\Includes;
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
define( 'CTLT_WP_SIDE_COMMENTS_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'CTLT_WP_SIDE_COMMENTS_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
/**
* Each plugin's class included below is responsible for register its own hooks and initializers
*/
//includes wp side comments class
require_once CTLT_WP_SIDE_COMMENTS_PLUGIN_PATH . 'classes/class-wp-side-comments.php';
//includes wp side comments admin class
require_once CTLT_WP_SIDE_COMMENTS_PLUGIN_PATH . 'classes/class-wp-side-comments-admin.php';
//includes the Custom Post Type "Texto em Debate"
require_once CTLT_WP_SIDE_COMMENTS_PLUGIN_PATH . 'classes/class-texto-em-debate-post-type.php';
// Widget para exibição na capa
//include( CTLT_WP_SIDE_COMMENTS_PLUGIN_PATH . 'classes/comment-front-widget.php' );
//includes the Custom Post Type "Texto em Debate"
require_once CTLT_WP_SIDE_COMMENTS_PLUGIN_PATH . 'classes/class-wp-side-comments-custom-editor.php';