'; Aarambha_Real_Estate_Helper::post_meta( get_the_ID() ); echo '
'; break; case 'post-desc' : if ( ! is_404() ) { the_archive_description( '
', '
' ); } break; endswitch; endforeach; ?>
'; echo '
'; } endif; /* ------------------------------ BLOG PAGE CONTENT ------------------------------ */ if ( ! function_exists( 'aarambha_real_estate_posts_navigation' ) ) : /** * Blog Posts navigation */ function aarambha_real_estate_posts_navigation() { Aarambha_Real_Estate_Helper::post_pagination(); } endif; if ( ! function_exists( 'aarambha_real_estate_blog_post_content' ) ) : /** * Blog post content */ function aarambha_real_estate_blog_post_content() { $posts_elements = get_theme_mod( 'aarambha_real_estate_blog_posts_elements', ['post-meta','post-title','post-excerpt'] ); $meta_elements = get_theme_mod( 'aarambha_real_estate_blog_posts_meta_elements', ['categories','author'] ); if ( ! empty( $posts_elements ) ) : echo '
'; foreach ( $posts_elements as $post_element ) : switch ( $post_element ) : case 'post-title' : Aarambha_Real_Estate_Helper::post_title(); break; case 'post-excerpt' : Aarambha_Real_Estate_Helper::post_content(); break; case 'read-more' : Aarambha_Real_Estate_Helper::read_more(); break; case 'post-meta' : echo '
'; if ( $meta_elements ) { foreach ( $meta_elements as $val ) { if( $val == 'author' ) { aarambha_real_estate_posted_by(); } elseif( $val == 'categories' ) { aarambha_real_estate_posted_cats(); } elseif( $val == 'tags' ) { aarambha_real_estate_posted_tags(); } elseif( $val == 'date' ) { aarambha_real_estate_posted_on(); } } } echo '
'; break; endswitch; endforeach; echo '
'; endif; } endif; /* ------------------------------ SEARCH PAGE CONTENT ------------------------------ */ if ( ! function_exists( 'aarambha_real_estate_search_posts_header' ) ) : /** * Posts Header */ function aarambha_real_estate_search_posts_header() { ?>
', esc_url( get_permalink() ) ), '' ); ?>
'16x9'] ) : get_theme_mod( 'aarambha_real_estate_single_page_featured_image_ratio', ['desktop' => '16x9'] ); $img_size = is_single() ? get_theme_mod('aarambha_real_estate_single_post_featured_image_size',['desktop' => 'medium_large'] ) : get_theme_mod( 'aarambha_real_estate_single_page_featured_image_size', ['desktop' => 'medium_large'] ); $ratio = in_array( 'auto', $img_ratio ) ? '16x9' : $img_ratio['desktop']; aarambha_real_estate_singular_post_thumbnail( $img_size['desktop'],$ratio ); } else { $img_ratio = get_theme_mod( 'aarambha_real_estate_blog_post_featured_image_ratio', ['desktop' => '16x9'] ); $img_size = get_theme_mod( 'aarambha_real_estate_blog_post_featured_image_size', ['desktop' => 'medium_large'] ); $ratio = in_array( 'auto', $img_ratio ) ? '16x9' : $img_ratio['desktop']; aarambha_real_estate_post_thumbnail( $img_size['desktop'],$ratio ); } } endif; if ( ! function_exists( 'aarambha_real_estate_post_header' ) ) : /** * Post Header */ function aarambha_real_estate_post_header() { ?>
'h1'] ); the_title( '<' . esc_attr( $html_tag['desktop'] ) . ' class="entry-title">', '' ); break; case 'post-cats' : echo '
'; aarambha_real_estate_posted_cats(); echo '
'; break; endswitch; endforeach; endif; if ( has_post_thumbnail() ) { aarambha_real_estate_posted_on(); } ?>
"%s"', 'aarambha-real-estate' ), array( 'span' => array( 'class' => array(), ), ) ), wp_kses_post( get_the_title() ) ) ); ?> '', ) ); ?>
'h1'] ); the_title( '<' . esc_attr( $html_tag['desktop'] ) . ' class="entry-title">', '' ); endif; ?>
"%s"', 'aarambha-real-estate' ), array( 'span' => array( 'class' => array(), ), ) ), wp_kses_post( get_the_title() ) ) ); ?> '', ) ); ?>
'true'] ); if ( $back_to_top && array_key_exists( 'desktop', $back_to_top ) ) : ?>
'; $output .= ''; $output .= ''; // @codingStandardsIgnoreStart echo $output; // @codingStandardsIgnoreEnd } endif;