-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeme.config.php
More file actions
70 lines (63 loc) · 2.2 KB
/
Copy paththeme.config.php
File metadata and controls
70 lines (63 loc) · 2.2 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php
/**
* Define constants for theme configuration
*
* This file is used to define constants for the theme configuration.
*
* @package GraphQL Starter
*/
/**
* Define if frontend redirect is enabled. Default is true.
*
* This constant controls whether the frontend is redirected to the admin dashboard.
* When enabled (true), the frontend is redirected to the admin dashboard.
*
* read docs/frontend-redirect.md for more information.
*/
define('GRAPHQL_STARTER_REDIRECT_FRONTEND_ENABLED', true);
/**
* Define if post count functionality is enabled. Default is true.
*
* This constant controls whether the total pages count is available in GraphQL queries.
* When enabled (true), the 'total' field is added to pageInfo in post queries.
* This is useful for pagination UI and displaying total pages.
*
* read docs/blog-posts.md for more information.
*/
define('GRAPHQL_STARTER_POST_PAGES_COUNT_ENABLED', true);
/**
* Define if posts likes functionality is enabled. Default is false.
*
* This constant controls whether the post likes system is active.
* When enabled (true), like/unlike queries and mutations are enabled.
*
* read docs/blog-posts.md for more information.
*/
define('GRAPHQL_STARTER_LIKE_POSTS_ENABLED', false);
/**
* Define if custom post types are enabled. Default is false.
*
* This constant controls whether the custom post types are enabled.
* When enabled (true), the custom post types are registered.
*
* read docs/custom-post-types.md for more information.
*/
define('GRAPHQL_STARTER_CUSTOM_POST_TYPES_ENABLED', false);
/**
* Define if custom fields are enabled. Default is false.
*
* This constant controls whether the custom fields are enabled.
* When enabled (true), the custom fields are registered.
*
* read docs/custom-fields.md for more information.
*/
define('GRAPHQL_STARTER_CUSTOM_FIELDS_ENABLED', false);
/**
* Define if posts social sharing functionality is enabled. Default is false.
*
* This constant controls whether the posts social sharing functionality is active.
* When enabled (true), sharing URLs are available in post queries.
*
* read docs/blog-posts.md for more information.
*/
define('GRAPHQL_STARTER_SOCIAL_SHARE_ENABLED', false);