From 60b3992ca580861a33a29372528db80d575171e6 Mon Sep 17 00:00:00 2001 From: FrankZamora Date: Thu, 13 Nov 2025 23:06:57 -0600 Subject: [PATCH] fix: desactivar carga de sistema viejo de theme options en functions.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Comentar carga de admin/theme-options/theme-options.php - Comentar carga de admin/theme-options/options-api.php - El nuevo Admin Panel (admin/init.php) ya se carga en línea 272 - Esto elimina conflicto entre sistema viejo y nuevo --- functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions.php b/functions.php index a0724762..3eafa410 100644 --- a/functions.php +++ b/functions.php @@ -150,6 +150,8 @@ if (file_exists(get_template_directory() . '/inc/theme-options-helpers.php')) { } // Admin Options API (Theme Options) +// DESACTIVADO: Ahora se usa el nuevo Admin Panel (admin/init.php se carga más abajo) +/* if (is_admin()) { if (file_exists(get_template_directory() . '/admin/theme-options/options-api.php')) { require_once get_template_directory() . '/admin/theme-options/options-api.php'; @@ -158,6 +160,7 @@ if (is_admin()) { require_once get_template_directory() . '/admin/theme-options/theme-options.php'; } } +*/ // Bootstrap Nav Walker if (file_exists(get_template_directory() . '/inc/nav-walker.php')) {