blocksy_default_akg( 'page_structure_type', blocksy_get_post_options(), 'default' ) ], '' ); } ); } if (have_posts()) { the_post(); } /** * Note to code reviewers: This line doesn't need to be escaped. * Function blocksy_output_hero_section() used here escapes the value properly. */ echo blocksy_output_hero_section('type-2'); $container_class = 'ct-container'; if (blocksy_get_page_structure() === 'narrow') { $container_class = 'ct-container-narrow'; } $content_area_class = 'content-area'; $content_style = blocksy_get_content_style(); ob_start(); the_content(); $post_content = ob_get_clean(); if ( ( strpos($post_content, 'alignwide') !== false || strpos($post_content, 'alignfull') !== false ) && blocksy_sidebar_position() === 'none' && blocksy_get_content_style() !== 'boxed' ) { $content_area_class .= ' content-area-wide'; } ?>