|
|
@ -37,14 +37,17 @@ if ( get_option( 'pb_front_page_catalog' ) ) { |
|
|
|
if ( has_sections( $post->ID ) ) { |
|
|
|
if ( has_sections( $post->ID ) ) { |
|
|
|
the_content(); |
|
|
|
the_content(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
|
|
|
|
$content = get_post_field( 'post_content', $post ); |
|
|
|
|
|
|
|
if ( ! empty( $content ) ) { |
|
|
|
echo apply_filters( |
|
|
|
echo apply_filters( |
|
|
|
'the_content', |
|
|
|
'the_content', |
|
|
|
sprintf( |
|
|
|
sprintf( |
|
|
|
'[aldine_page_section]%s[/aldine_page_section]', |
|
|
|
'[aldine_page_section]%s[/aldine_page_section]', |
|
|
|
get_post_field( 'post_content', $post ) |
|
|
|
$content |
|
|
|
) |
|
|
|
) |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
?> |
|
|
|
?> |
|
|
|
</div><!-- .entry-content --> |
|
|
|
</div><!-- .entry-content --> |
|
|
|
</article><!-- #post-<?php the_ID(); ?> -->
|
|
|
|
</article><!-- #post-<?php the_ID(); ?> -->
|
|
|
|