From 7fb5eda1088597cf0b2751047a92f69e2911a8a0 Mon Sep 17 00:00:00 2001 From: FrankZamora Date: Tue, 2 Dec 2025 11:36:36 -0600 Subject: [PATCH] refactor(template): unificar page.php con estructura de single.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Grid layout col-lg-9 + col-lg-3 - Incluye todos los componentes: hero, featured-image, social-share, cta-post, related-post, table-of-contents, cta-box-sidebar, contact-form - Permite que cta-box-sidebar se muestre en pĂ¡ginas cuando show_on_pages=all đŸ¤– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- page.php | 192 ++++++++++++++++++++++++++----------------------------- 1 file changed, 92 insertions(+), 100 deletions(-) diff --git a/page.php b/page.php index 479a667c..4717c5a4 100644 --- a/page.php +++ b/page.php @@ -2,9 +2,8 @@ /** * The template for displaying all pages * - * This is the template that displays all pages by default. - * Please note that this is the WordPress construct of pages and that - * other 'pages' on your WordPress site will use a different template. + * Replica la estructura de single.php para consistencia visual. + * Grid layout: col-lg-9 (contenido) + col-lg-3 (sidebar) * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-page * @@ -15,112 +14,105 @@ get_header(); ?> -
+ -
+
- -
+ + - + +
+
-
> - - - -
- the_title_attribute( - array( - 'echo' => false, - ) - ), - 'loading' => 'eager', - ) - ); - ?> -
- - - -
-

- -

-
- - -
- '', - ) - ); - ?> -
- - - -
- "%s"', 'roi-theme' ), - array( - 'span' => array( - 'class' => array(), - ), - ) - ), - get_the_title() - ), - '', - '' - ); - ?> -
- - -
- - - -
+ +
+ -
+ +
> + + wp_link_pages(array( + 'before' => '', + )); + ?> +
+ + + + + + + + + + + + + +
+ + +
+ +
+ +
+
+ +
+ + + + +