-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-sample.php
77 lines (59 loc) · 1.7 KB
/
config-sample.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?php
// theme magic vars
function cwnet_plugin_vars() {
if (!defined('CWNET_BLOGNAME'))
define('CWNET_BLOGNAME', get_bloginfo('name'));
if (!defined('CWNET_BLOGDESC'))
define('CWNET_BLOGDESC', get_bloginfo('description','display'));
if (!defined('CWNET_BLOGURL'))
define('CWNET_BLOGURL', esc_url( home_url( '/' ) ));
if (!defined('CWNET_AJAX'))
define('CWNET_AJAX', admin_url( 'admin-ajax.php' , __FILE__));
// define environment: development or production
// possible values : dev or prod
if (!defined('CWNET_ENV'))
define('CWNET_ENV', 'dev' );
// USER SYSTEM VARS
if (!defined('CWNET_U_STAFF'))
define('CWNET_U_STAFF', array() );
// POST TYPES
// projects
if (!defined('CWNET_PT_PJ'))
define('CWNET_PT_PJ', '' );
if (!defined('CWNET_PT_PJ_PFX'))
define('CWNET_PT_PJ_PFX', '' );
// circles
if (!defined('CWNET_PT_CL'))
define('CWNET_PT_CL', '' );
if (!defined('CWNET_PT_CL_PFX'))
define('CWNET_PT_CL_PFX', '' );
// wiser
if (!defined('CWNET_PT_P'))
define('CWNET_PT_P', '' );
if (!defined('CWNET_PT_P_PFX'))
define('CWNET_PT_P_PFX', '' );
// TAXONOMIES
// location
if (!defined('CWNET_TX_LC'))
define('CWNET_TX_LC', '' );
// country
if (!defined('CWNET_TX_CO'))
define('CWNET_TX_CO', '' );
// interest
if (!defined('CWNET_TX_IN'))
define('CWNET_TX_IN', '' );
// HEADER METAS
if (!defined('CWNET_META_IMG'))
define('CWNET_META_IMG', '' );
// PAGES
// profile page
if (!defined('CWNET_P_PROFILE'))
define('CWNET_P_PROFILE','ID');
// message page
if (!defined('CWNET_P_MESSAGE'))
define('CWNET_P_MESSAGE','ID');
// network page
if (!defined('CWNET_P_NETWORK'))
define('CWNET_P_NETWORK','ID');
}
?>