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:
14
archive.php
14
archive.php
@@ -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): ?>
|
||||
|
||||
Reference in New Issue
Block a user