backup: estado antes de limpieza de defaults

This commit is contained in:
FrankZamora
2025-11-13 21:45:11 -06:00
parent d73e0dc9cd
commit 0038ad502c
38 changed files with 9495 additions and 512 deletions

View File

@@ -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';
}