ordered logic in home page
This commit is contained in:
parent
9f8e40aec0
commit
f73bd434a7
10
page.php
10
page.php
|
@ -29,9 +29,13 @@ get_header();
|
|||
|
||||
</main><!-- #main -->
|
||||
<?php
|
||||
//if ( is_front_page() ) :
|
||||
// get_template_part( 'template-parts/section', 'featured' );
|
||||
//endif;
|
||||
if ( is_front_page() ) :
|
||||
//get_template_part( 'template-parts/section', 'featured' );
|
||||
|
||||
echo '<aside id="extra" class="extra-content contingut-extra">';
|
||||
dynamic_sidebar( 'front-page-widgets' ); // including widget front page
|
||||
echo '</aside>';
|
||||
endif;
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
|
|
@ -52,5 +52,4 @@
|
|||
|
||||
</main>
|
||||
<?php } //closing if is_plugin_active ?>
|
||||
<?php dynamic_sidebar( 'front-page-widgets' ); // including widget front page?>
|
||||
</aside>
|
||||
|
|
Loading…
Reference in New Issue