-
Notifications
You must be signed in to change notification settings - Fork 0
/
cata-blocks.php
174 lines (146 loc) · 4.49 KB
/
cata-blocks.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<?php
/**
* Cata Blocks
*
* @package Cata\Blocks
* @author Thought & Expression Co. <[email protected]>
* @copyright 2019 Thought & Expression Co.
* @license GNU GENERAL PUBLIC LICENSE
*
* @wordpress-plugin
* Plugin Name: Cata Blocks
* Description: Block Editor components for use with the Cata theme.
* Author: Thought & Expression Co. <[email protected]>
* Author URI: https://thought.is
* Version: 0.10.7
* License: GPL v3 or later
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
*/
namespace Cata\Blocks;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Middleware
*
* REST block depends on this file
*/
require_once __DIR__ . '/blocks-middleware/blocks-middleware.php';
/**
* Store
*
* Shopify block depends on this file
*/
require_once __DIR__ . '/blocks-store/blocks-store.php';
/**
* Aside
*/
require_once __DIR__ . '/blocks/aside/aside.php';
/**
* Kicker
*/
require_once __DIR__ . '/blocks/kicker/kicker.php';
/**
* Moodboard
*/
require_once __DIR__ . '/blocks/moodboard/moodboard.php';
/**
* Newsletter
*/
require_once __DIR__ . '/blocks/newsletter/includes/class-renderer.php';
require_once __DIR__ . '/blocks/newsletter/newsletter.php';
/**
* REST
*/
require_once __DIR__ . '/blocks/rest/includes/layout/class-layout.php';
require_once __DIR__ . '/blocks/rest/includes/layout/compact/class-compact.php';
require_once __DIR__ . '/blocks/rest/includes/layout/daily-horoscope/class-daily-horoscope.php';
require_once __DIR__ . '/blocks/rest/includes/layout/network/class-network.php';
require_once __DIR__ . '/blocks/rest/includes/layout/trending/class-trending.php';
require_once __DIR__ . '/blocks/rest/includes/sorting.php';
require_once __DIR__ . '/blocks/rest/rest.php';
/**
* Feed
*/
require_once __DIR__ . '/includes/feed/class-feed.php';
require_once __DIR__ . '/includes/feed/cache/class-cache.php';
require_once __DIR__ . '/includes/feed/fetch/class-fetch.php';
require_once __DIR__ . '/includes/feed/update/class-update.php';
new Feed\Update();
/**
* Proxy
*/
require_once __DIR__ . '/includes/proxy/class-proxy.php';
new Proxy();
/**
* Table of Contents
*/
require_once __DIR__ . '/blocks/table-of-contents/table-of-contents.php';
/**
* FAQ
*/
require_once __DIR__ . '/blocks/faq/includes/structured-data/class-faq-data-collector.php';
require_once __DIR__ . '/blocks/faq/includes/structured-data/class-render-faq-data.php';
require_once __DIR__ . '/blocks/faq/faq.php';
/**
* Scheduled Content
*/
require_once __DIR__ . '/blocks/scheduled-content/scheduled-content.php';
/**
* Shopify
*/
include_once __DIR__ . '/blocks/shopify/includes/options/class-options.php';
include_once __DIR__ . '/blocks/shopify/includes/options/store/class-store.php';
include_once __DIR__ . '/blocks/shopify/includes/options/add-store/class-add-store.php';
include_once __DIR__ . '/blocks/shopify/includes/feed/class-feed.php';
include_once __DIR__ . '/blocks/shopify/includes/feed/cache/class-cache.php';
include_once __DIR__ . '/blocks/shopify/includes/feed/fetch/class-fetch.php';
include_once __DIR__ . '/blocks/shopify/includes/feed/query/class-query.php';
include_once __DIR__ . '/blocks/shopify/includes/feed/update/class-update.php';
include_once __DIR__ . '/blocks/shopify/includes/render/class-render.php';
include_once __DIR__ . '/blocks/shopify/includes/proxy/class-proxy.php';
require_once __DIR__ . '/blocks/shopify/shopify.php';
new Shopify\Feed\Update();
new Shopify\Options();
new Shopify\Proxy();
/**
* Network Links
*/
require_once __DIR__ . '/blocks/network-link/network-link.php';
require_once __DIR__ . '/blocks/network-links/network-links.php';
/**
* Reel
*/
require_once __DIR__ . '/blocks/reel/reel.php';
require_once __DIR__ . '/blocks/reel-clip/reel-clip.php';
/**
* Marquee
*/
require_once __DIR__ . '/blocks/marquee/marquee.php';
/**
* Globe Background
*/
require_once __DIR__ . '/blocks/globe-background/globe-background.php';
/**
* JustWatch
*/
require_once __DIR__ . '/blocks/just-watch/just-watch.php';
require_once __DIR__ . '/blocks/just-watch/includes/options/class-options.php';
require_once __DIR__ . '/blocks/just-watch/includes/options/token/class-token.php';
new Just_Watch\Options();
/**
* Trivia Pattern
*/
require_once __DIR__ . '/patterns/trivia/trivia.php';
/**
* Overhang Format
*/
require_once __DIR__ . '/formats/overhang/overhang.php';
/**
* Substack Social Link Variation
*/
require_once __DIR__ . '/variations/social-link/substack/substack.php';
/**
* Block Editor
*/
require_once __DIR__ . '/block-editor/block-editor.php';