ordered logic in home page

This commit is contained in:
jorge 2024-02-20 21:13:13 +01:00
parent 9f8e40aec0
commit f73bd434a7
2 changed files with 7 additions and 4 deletions

View File

@ -29,9 +29,13 @@ get_header();
</main><!-- #main --> </main><!-- #main -->
<?php <?php
//if ( is_front_page() ) : if ( is_front_page() ) :
//get_template_part( 'template-parts/section', 'featured' ); //get_template_part( 'template-parts/section', 'featured' );
//endif;
echo '<aside id="extra" class="extra-content contingut-extra">';
dynamic_sidebar( 'front-page-widgets' ); // including widget front page
echo '</aside>';
endif;
?> ?>
<?php <?php

View File

@ -52,5 +52,4 @@
</main> </main>
<?php } //closing if is_plugin_active ?> <?php } //closing if is_plugin_active ?>
<?php dynamic_sidebar( 'front-page-widgets' ); // including widget front page?>
</aside> </aside>