max_num_pages > 1 ) : ?>
post_name; $extraStyle = $extraStyleHeader = 'style="'; $template_name = get_post_meta( $postID , '_wp_page_template', true ); /* get section settings*/ $ut_display_section_header = get_post_meta( $postID , 'ut_display_section_header' , true ); $ut_section_slogan = get_post_meta( $postID , 'ut_section_slogan' , true ); $ut_parallax_section = get_post_meta( $postID , 'ut_parallax_section' , true); $ut_overlay_section = get_post_meta( $postID , 'ut_overlay_section' , true); $ut_section_skin = get_post_meta( $postID , 'ut_section_skin' , true); $ut_section_shadow = get_post_meta( $postID , 'ut_section_shadow' , true); $ut_section_class = get_post_meta( $postID , 'ut_section_class' , true); $ut_section_header_style = get_post_meta( $postID , 'ut_section_header_style', true ); $ut_section_header_style = ( !empty($ut_section_header_style) && $ut_section_header_style != 'global' ) ? $ut_section_header_style : ot_get_option('ut_global_headline_style'); /* section width */ $data_width = $ut_section_width = get_post_meta( $postID , 'ut_section_width' , true); $ut_section_width_class = NULL; if( $ut_section_width == 'split' ) { $data_width = 'centered'; $ut_section_width_class = 'ut-split-screen'; } /* section shadow */ $shadow = ( $ut_section_shadow == 'on' ) ? 'ut-section-shadow' : ''; /* section post parent */ $first_parent = array_reverse( get_post_ancestors( $postID ) ); if( !empty( $first_parent[0] ) ) { $first_parent = get_page($first_parent[0]); $post_parent = 'data-parent="section-' . $first_parent->post_name . '"'; } else { $post_parent = NULL; } /* section header style */ $ut_section_header_style = !empty($ut_section_header_style) ? $ut_section_header_style : 'pt-style-1'; /* fallback if there is no entry or if someone switched from another theme */ $ut_section_width = empty($ut_section_width) ? 'centered' : $ut_section_width; /* get parallax settings*/ $ut_parallax_image = get_post_meta( get_the_ID() , 'ut_parallax_image' , true ); if( is_array($ut_parallax_image) && !empty( $ut_parallax_image['background-image'] ) ) { $ut_parallax_image = $ut_parallax_image['background-image']; } elseif( !is_array($ut_parallax_image) && !empty($ut_parallax_image) ) { $ut_parallax_image = $ut_parallax_image; } else { $ut_parallax_image = NULL; }?>
id="section-">

>
id="section-">

>