"; // output the title to the page if( $yydev_theme_data['yy_pages_title_output'] == 1 ) { $page_output .= "

" . get_the_title() . "

"; } // if( empty($yydev_theme_data['yy_pages_title_output']) ) { // -------------------------------------------------------- // including the data line below the title // -------------------------------------------------------- if( $yydev_theme_data['yy_pages_data_line'] == 1 ) { $page_output .= include( get_theme_file_path( 'pages-structure/single-structure-assets/post-info.php' ) ); } // if( $yydev_theme_data['yy_pages_data_line'] == 1 ) { // -------------------------------------------------------- // Outputting the thumbnail if it exists // -------------------------------------------------------- if( $yydev_theme_data['yy_pages_thumbnail_output'] == 1 ) { if ( has_post_thumbnail()) { $thumbnail = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); $page_output .= "
"; $page_output .= get_the_post_thumbnail(); $page_output .= "
"; } // if ( has_post_thumbnail()) { } // if( $yydev_theme_data['yy_pages_thumbnail_output'] == 1 ) { // -------------------------------------------------------- // output the content // -------------------------------------------------------- $page_output .= "
"; $page_content = get_the_content(); $page_output .= apply_filters('the_content', $page_content); // -------------------------------------------------------- // output inner page pagination // -------------------------------------------------------- $page_output .= yydev_theme_link_pages(false); $page_output .= "
"; $page_output .= "
"; $page_output .= ""; // output the page content into the page echo $page_output; // -------------------------------------------------------- // output the comments into the page // -------------------------------------------------------- comments_template(); } // while( have_posts() ) { } else { // if( have_posts() ) { echo "

" . __('Sorry, the page content was not found', 'yydevelopment-basic') . "

"; } // } else { // if( have_posts() ) { ?>