"; 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 ) { // -------------------------------------------------------- // output the content // -------------------------------------------------------- $page_output .= "
"; // get the content $page_content = get_the_content(); $page_output .= apply_filters('the_content', $page_content); // get the caption $page_output .= "
"; $get_image_url = wp_get_attachment_image_src($post->ID, 'large'); $page_output .= "" . wp_get_attachment_image($post->ID, 'large') . ""; // Getting the image caption if it's exists if ( has_excerpt() ) { $page_output .= "
"; $page_excerpt = get_the_excerpt(); $page_output .= apply_filters('the_content', $page_excerpt); $page_output .= "
"; } // if ( has_excerpt() ) { $page_output .= "
"; $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() ) { ?>