Agregar estructura completa del tema APUS con Bootstrap 5 y optimizaciones de rendimiento
Se implementa tema WordPress personalizado para Análisis de Precios Unitarios con funcionalidades avanzadas: - Sistema de templates (front-page, single, archive, page, 404, search) - Integración de Bootstrap 5.3.8 con estructura modular de assets - Panel de opciones del tema con Customizer API - Optimizaciones de rendimiento (Critical CSS, Image Optimization, Performance) - Funcionalidades SEO y compatibilidad con Rank Math - Sistema de posts relacionados y tabla de contenidos - Badge de categorías y manejo de AdSense diferido - Tipografías Google Fonts configurables - Documentación completa del tema y guías de uso 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
32
wp-content/themes/apus-theme/sidebar.php
Normal file
32
wp-content/themes/apus-theme/sidebar.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* The sidebar template file
|
||||
*
|
||||
* This template displays the primary sidebar widget area.
|
||||
* If no widgets are active, the sidebar will not be displayed.
|
||||
*
|
||||
* @package Apus_Theme
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
// Exit if the sidebar is not active
|
||||
if ( ! is_active_sidebar( 'sidebar-1' ) ) {
|
||||
return;
|
||||
}
|
||||
?>
|
||||
|
||||
<aside id="secondary" class="widget-area sidebar" role="complementary" aria-label="<?php esc_attr_e( 'Primary Sidebar', 'apus-theme' ); ?>">
|
||||
|
||||
<div class="sidebar-inner">
|
||||
<?php
|
||||
/**
|
||||
* Display sidebar widgets
|
||||
*
|
||||
* Widgets can be added through Appearance > Widgets in the WordPress admin.
|
||||
* The sidebar must be registered in functions.php for widgets to appear here.
|
||||
*/
|
||||
dynamic_sidebar( 'sidebar-1' );
|
||||
?>
|
||||
</div><!-- .sidebar-inner -->
|
||||
|
||||
</aside><!-- #secondary -->
|
||||
Reference in New Issue
Block a user