backup: estado antes de limpieza de defaults
This commit is contained in:
@@ -149,13 +149,13 @@ if (file_exists(get_template_directory() . '/inc/theme-options-helpers.php')) {
|
||||
require_once get_template_directory() . '/inc/theme-options-helpers.php';
|
||||
}
|
||||
|
||||
// Admin Options API
|
||||
// Admin Options API (Theme Options)
|
||||
if (is_admin()) {
|
||||
if (file_exists(get_template_directory() . '/inc/admin/options-api.php')) {
|
||||
require_once get_template_directory() . '/inc/admin/options-api.php';
|
||||
if (file_exists(get_template_directory() . '/admin/theme-options/options-api.php')) {
|
||||
require_once get_template_directory() . '/admin/theme-options/options-api.php';
|
||||
}
|
||||
if (file_exists(get_template_directory() . '/inc/admin/theme-options.php')) {
|
||||
require_once get_template_directory() . '/inc/admin/theme-options.php';
|
||||
if (file_exists(get_template_directory() . '/admin/theme-options/theme-options.php')) {
|
||||
require_once get_template_directory() . '/admin/theme-options/theme-options.php';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -225,8 +225,8 @@ if (file_exists(get_template_directory() . '/inc/related-posts.php')) {
|
||||
}
|
||||
|
||||
// Related posts configuration options (admin helpers)
|
||||
if (file_exists(get_template_directory() . '/inc/admin/related-posts-options.php')) {
|
||||
require_once get_template_directory() . '/inc/admin/related-posts-options.php';
|
||||
if (file_exists(get_template_directory() . '/admin/theme-options/related-posts-options.php')) {
|
||||
require_once get_template_directory() . '/admin/theme-options/related-posts-options.php';
|
||||
}
|
||||
|
||||
// Table of Contents
|
||||
@@ -265,6 +265,6 @@ if (file_exists(get_template_directory() . '/inc/customizer-cta.php')) {
|
||||
}
|
||||
|
||||
// Admin Panel Module (Phase 1-2: Base Structure)
|
||||
if (file_exists(get_template_directory() . '/admin-panel/init.php')) {
|
||||
require_once get_template_directory() . '/admin-panel/init.php';
|
||||
if (file_exists(get_template_directory() . '/admin/init.php')) {
|
||||
require_once get_template_directory() . '/admin/init.php';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user