-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefinables.txt
98 lines (77 loc) · 2.98 KB
/
definables.txt
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/**
*
* List of definable options for wp-config file
* Author: David Churchill
* Updated: 2018-05-21
*
**/
/** API for Awsome Weather Widget Pro
* URL: https://halgatewood.com
**/
define('AWESOME_WEATHER_PRO_LICENSE', 'awsome_weather_pro_license');
define('AWESOME_WEATHER_APPID', 'awesome_weather_appid');
/** API for Yahoo Weather (for Awsome Weather Widget Pro)
* URL:https://developer.yahoo.com/apps/create
* Note: Yahoo weather appears to be broken
**/
define( 'AWESOME_WEATHER_YAHOO_CONSUMER', 'yhoo_consumer_key' );
define( 'AWESOME_WEATHER_YAHOO_SECRET', 'yhoo_secret_key' );
/** API for Weather Underground (for Awsome Weather Widget Pro)
* URL: https://www.wunderground.com/weather/api
**/
define('AWESOME_WUNDERGROUND_KEY', 'wundergroun_key');
/**
* License for Gravity Forms
* URL: https://gravityforms.com
**/
define('GF_LICENSE_KEY','gravity_forms_license_key');
/**
* Contact Form 7
* Contact Form 7 4.4 introduced a Configuration Validator
* You can disable the configuration validator by adding to your wp-config.php
**/
define( 'WPCF7_VALIDATE_CONFIGURATION', false );
/**
* WordPress Stuff
* Moving wp-content folder
* Set WP_CONTENT_DIR to the full local path of this directory (no trailing slash)
**/
/* local path */
define( 'WP_CONTENT_DIR', dirname(__FILE__) . '/blog/wp-content' );
/* full url */
define( 'WP_CONTENT_URL', 'http://example/blog/wp-content' );
/**
* Moving plugin folder
* Set WP_PLUGIN_DIR to the full local path of this directory (no trailing slash)
**/
// local path
define( 'WP_PLUGIN_DIR', dirname(__FILE__) . '/blog/wp-content/plugins' );
// full url
define( 'WP_PLUGIN_URL', 'http://example/blog/wp-content/plugins' );
// If you have compability issues with plugins Set PLUGINDIR to the full local path of this directory (no trailing slash)
define( 'PLUGINDIR', dirname(__FILE__) . '/blog/wp-content/plugins' );
/**
* Moving themes folder
* You cannot move the themes folder because its path is hardcoded relative to the wp-content
* However, you can register additional theme directories using register_theme_directory
* https://codex.wordpress.org/register_theme_directory
**/
/**
* Moving uploads folder
* Set the UPLOADS folder to media:
**/
define( 'UPLOADS', 'wp-content/media' );
/** This path can not be absolute. It is always relative to ABSPATH, therefore does not require a leading slash. Add the define just before this: **/
/** Sets up WordPress vars and included files. **/
require_once(ABSPATH . 'wp-settings.php');
/**
* Modify AutoSave Interval
* When editing a post, WordPress uses Ajax to auto-save revisions to the post as you edit.
* You may want to increase this setting for longer delays in between auto-saves, or decrease the setting to make sure you never lose changes. The default is 60 seconds.
**/
define( 'AUTOSAVE_INTERVAL', 160 ); // Seconds
/**
* Set Akismet Key for Multisite Network
* Key can be found at https://akismet.com/account
**/
define('WPCOM_API_KEY','your-key');