-
Notifications
You must be signed in to change notification settings - Fork 18
/
gutenberg-custom-fields.php
35 lines (28 loc) · 1017 Bytes
/
gutenberg-custom-fields.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
<?php
/**
* Plugin Name: Gutenberg Custom Fields
* Plugin URI: https://github.com/youknowriad/gcf
* Description: Custom Fields, The Gutenberg way
* Version: 1.5.6
* Text Domain: gutenberg-custom-fields
* Domain Path: /languages
* Author: Riad Benguella
*
* @package gcf
*/
// Some common utilities
require_once dirname( __FILE__ ) . '/lib/common.php';
// Hacks to WP APIs
require_once dirname( __FILE__ ) . '/lib/hacks.php';
// Registering Script Files
require_once dirname( __FILE__ ) . '/lib/i18n-script.php';
require_once dirname( __FILE__ ) . '/lib/fields-script.php';
require_once dirname( __FILE__ ) . '/lib/config-app-script.php';
// Templates CPT
require_once dirname( __FILE__ ) . '/lib/custom-post-type.php';
// Templates Endpoint
require_once dirname( __FILE__ ) . '/lib/endpoint.php';
// Enhancing Gutenberg with the active template
require_once dirname( __FILE__ ) . '/lib/register-templates.php';
// The Admin config page
require_once dirname( __FILE__ ) . '/lib/config-app-page.php';