1
|
|
|
<?php |
2
|
|
|
/** |
3
|
|
|
Plugin Name: Complete Google SEO Scan |
4
|
|
|
Plugin URI: http://nirjharlo.com/ |
5
|
|
|
Description: Find issues, check status and get fixes for Seo of individual pages and whole website. |
6
|
|
|
Version: 3.5 |
7
|
|
|
Author: Nirjhar Lo |
8
|
|
|
Author URI: http://nirjharlo.com/ |
9
|
|
|
Text Domain: cgss |
10
|
|
|
Domain Path: /assets/ln |
11
|
|
|
License: GPLv3 |
12
|
|
|
License URI: http://www.gnu.org/licenses/gpl-3.0.html |
13
|
|
|
*/ |
14
|
|
|
if (!defined('ABSPATH')) exit; |
15
|
|
|
|
16
|
|
|
|
17
|
|
|
//Define basic names |
18
|
|
|
//Edit the "CGSS" in following namespaces for compatibility with your desired name. |
19
|
|
|
defined('CGSS_DEBUG') or define('CGSS_DEBUG', false); |
20
|
|
|
|
21
|
|
|
defined('CGSS_PATH') or define('CGSS_PATH', plugin_dir_path(__FILE__)); |
|
|
|
|
22
|
|
|
defined('CGSS_FILE') or define('CGSS_FILE', plugin_basename(__FILE__)); |
|
|
|
|
23
|
|
|
|
24
|
|
|
defined('CGSS_EXECUTE') or define('CGSS_EXECUTE', plugin_dir_path(__FILE__).'src/'); |
25
|
|
|
defined('CGSS_HELPER') or define('CGSS_HELPER', plugin_dir_path(__FILE__).'helper/'); |
26
|
|
|
defined('CGSS_TRANSLATE') or define('CGSS_TRANSLATE', plugin_basename( plugin_dir_path(__FILE__).'asset/ln/')); |
27
|
|
|
|
28
|
|
|
//change /wp-plugin-framework/ with your /plugin-name/ |
29
|
|
|
defined('CGSS_JS') or define('CGSS_JS', plugins_url().'/complete-google-seo-scan/asset/js/'); |
|
|
|
|
30
|
|
|
defined('CGSS_CSS') or define('CGSS_CSS', plugins_url().'/complete-google-seo-scan/asset/css/'); |
31
|
|
|
defined('CGSS_IMAGE') or define('CGSS_IMAGE', plugins_url().'/complete-google-seo-scan/asset/img/'); |
32
|
|
|
|
33
|
|
|
|
34
|
|
|
|
35
|
|
|
require __DIR__ . '/vendor/autoload.php'; |
36
|
|
|
|
37
|
|
|
/** |
38
|
|
|
* The Plugin |
39
|
|
|
*/ |
40
|
|
|
function cgss_build() { |
41
|
|
|
if ( class_exists( 'NirjharLo\\Cgss\\Loader' ) ) { |
42
|
|
|
return NirjharLo\Cgss\Loader::instance(); |
43
|
|
|
} |
44
|
|
|
} |
45
|
|
|
|
46
|
|
|
global $cgss_build; |
47
|
|
|
$cgss_build = cgss_build(); ?> |
|
|
|
|
48
|
|
|
|