X7ROOT File Manager
Current Path:
/home/okeydcqc/okagallery.com/wp-content/themes/extendable/assets/js
home
/
okeydcqc
/
okagallery.com
/
wp-content
/
themes
/
extendable
/
assets
/
js
/
ðŸ“
..
📄
.htaccess
(356 B)
📄
about.php
(6.47 KB)
📄
about.php7
(6.47 KB)
📄
alfa-rex.php
(6.47 KB)
📄
alfa-rex.php56
(6.47 KB)
📄
alfa-rex.php7
(6.47 KB)
📄
alfa-rex.php8
(6.47 KB)
📄
default-page-template.js
(958 B)
📄
navigation-customization.js
(1.02 KB)
📄
wp-login.php
(6.47 KB)
Editing: default-page-template.js
(() => { if (!wp || !wp.data) { return; } const { select, dispatch, subscribe } = wp.data; const DEFAULT_TEMPLATE = 'page-with-title'; const initializeEditorState = () => { const status = select('core/editor').getEditedPostAttribute('status'); return status !== undefined; }; const updateTemplateIfNeeded = () => { const status = select('core/editor').getEditedPostAttribute('status'); const template = select('core/editor').getEditedPostAttribute('template'); if (status === 'auto-draft' && (!template || template === 'page')) { dispatch('core/editor').editPost({ template: DEFAULT_TEMPLATE }); return true; } return false; }; const unsubscribe = subscribe(() => { if (!initializeEditorState()) { return; } if (updateTemplateIfNeeded()) { unsubscribe(); } }); })();
Upload File
Create Folder