-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathquick-sites.example.php
More file actions
52 lines (48 loc) · 1.96 KB
/
quick-sites.example.php
File metadata and controls
52 lines (48 loc) · 1.96 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
/**
* QuickWP v2 - Multi-Site Configuration
*
* SETUP INSTRUCTIONS:
* 1. Copy this file to: quick-sites.php
* 2. Configure your WordPress sites below
* 3. Switch between sites using ?site=key in the URL
* 4. Never commit quick-sites.php to version control!
*
* Each site can override any setting from quick-config.php
*/
return [
// Which site to use by default
'default_site' => 'main',
// Your sites
'sites' => [
// Example: Main/Production site
'main' => [
'label' => 'Main Site',
'posts_endpoint' => 'https://your-site.com/wp-json/wp/v2/posts',
'pages_endpoint' => 'https://your-site.com/wp-json/wp/v2/pages',
'media_endpoint' => 'https://your-site.com/wp-json/wp/v2/media',
'wp_username' => 'your-username',
'wp_app_password' => 'xxxx xxxx xxxx xxxx xxxx xxxx',
],
// Example: Staging site
// 'staging' => [
// 'label' => 'Staging',
// 'posts_endpoint' => 'https://staging.your-site.com/wp-json/wp/v2/posts',
// 'pages_endpoint' => 'https://staging.your-site.com/wp-json/wp/v2/pages',
// 'media_endpoint' => 'https://staging.your-site.com/wp-json/wp/v2/media',
// 'wp_username' => 'staging-user',
// 'wp_app_password' => 'xxxx xxxx xxxx xxxx xxxx xxxx',
// 'verify_ssl' => false, // if using self-signed cert
// ],
// Example: Local development
// 'local' => [
// 'label' => 'Local Dev',
// 'posts_endpoint' => 'http://localhost/wordpress/wp-json/wp/v2/posts',
// 'pages_endpoint' => 'http://localhost/wordpress/wp-json/wp/v2/pages',
// 'media_endpoint' => 'http://localhost/wordpress/wp-json/wp/v2/media',
// 'wp_username' => 'admin',
// 'wp_app_password' => 'xxxx xxxx xxxx xxxx xxxx xxxx',
// 'verify_ssl' => false,
// ],
],
];