diff --git a/partials/content-front-page.php b/partials/content-front-page.php
index b04a86e..c4da977 100644
--- a/partials/content-front-page.php
+++ b/partials/content-front-page.php
@@ -33,17 +33,17 @@ if ( get_option( 'pb_front_page_catalog' ) ) {
ID ) ) {
- the_content();
- } else {
- echo apply_filters(
- 'the_content',
- sprintf(
- '[aldine_page_section]%s[/aldine_page_section]',
- get_post_field( 'post_content', $post )
- )
- );
- }
+ if ( has_sections( $post->ID ) ) {
+ the_content();
+ } else {
+ echo apply_filters(
+ 'the_content',
+ sprintf(
+ '[aldine_page_section]%s[/aldine_page_section]',
+ get_post_field( 'post_content', $post )
+ )
+ );
+ }
?>