fix(templates): add missing components to archive templates

- Add social-share component to category.php and archive.php
- Add related-post component to category.php and archive.php
- Now archive templates have same components as single.php

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
FrankZamora
2025-12-06 22:40:53 -06:00
parent fb68f2023c
commit 5333531be4
2 changed files with 28 additions and 0 deletions

View File

@@ -53,6 +53,13 @@ $main_col_class = $show_sidebar ? 'col-lg-9' : 'col-lg-12';
}
?>
<!-- Social Share - Componente dinamico -->
<?php
if (function_exists('roi_render_component')) {
echo roi_render_component('social-share');
}
?>
<!-- CTA Post - Componente dinamico -->
<?php
if (function_exists('roi_render_component')) {
@@ -60,6 +67,13 @@ $main_col_class = $show_sidebar ? 'col-lg-9' : 'col-lg-12';
}
?>
<!-- Related Post - Componente dinamico -->
<?php
if (function_exists('roi_render_component')) {
echo roi_render_component('related-post');
}
?>
</div><!-- .<?php echo esc_attr($main_col_class); ?> -->
<?php if ($show_sidebar): ?>