forked from Luisoncm/CoreFunctionalityPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcore-functionality.php
More file actions
33 lines (28 loc) · 1.3 KB
/
core-functionality.php
File metadata and controls
33 lines (28 loc) · 1.3 KB
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
<?php
/**
* Plugin Name: WordPress Core Functionality
* GitHub Plugin URI: https://github.com/Luisoncm/Core-functionality-plugin
* Description: <strong>DO NOT DISABLE!</strong> This contains all your site's core functionality so that it is theme independent.
* Version: 1.0.2.3
* Author: Luis Colomé
* Author URI: http://www.luiscolome.com
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License version 2, as published by the Free Software Foundation. You may NOT assume
* that you can use any other version of the GPL.
*
*/
// Don't load directly
if (!defined('ABSPATH')) { exit; }
// Plugin Directory
define( 'LCM_DIR', dirname( __FILE__ ) );
// Include General Functions
require_once( LCM_DIR . '/inc/general.php'); // General.
// Other Plugin Functions
require_once( LCM_DIR . '/inc/admin-changes.php'); // WP dashboard changes.
require_once( LCM_DIR . '/inc/login-screen.php'); // Login Screen styles.
require_once( LCM_DIR . '/inc/kill-pingbacks.php'); // Removing and killing pingbacks.
require_once( LCM_DIR . '/inc/category-fix.php'); // Category pagination fix.
// Include CPT Functions
// require_once( LCM_DIR . '/inc/cpt-portfolio.php'); // Portfolio CPT.
// require_once( LCM_DIR . '/inc/cpt-team.php'); // Team CPT.