"; } // if( ($page_layout === 'full_width') || ($page_layout === 'width_100') ) { ?>
"; 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_title() . ""; $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); // -------------------------------------------------------- // Output tags to the page if they exists // -------------------------------------------------------- $output_tags = []; $post_tags = get_the_tags(); if ( !empty($post_tags) ) { foreach ($post_tags as $tag) { $output_tags[] = '' . $tag->name . ''; } // foreach ($post_tags as $tag) { } // if ( !empty($post_tags) ) { if( !empty($output_tags) ) { $page_output .= ""; } // if( !empty($output_tags) ) { $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() ) { ?>
"; } // if( ($page_layout === 'full_width') || ($page_layout === 'width_100') ) { ?>