????JFIF??x?x????'
Server IP : 104.21.16.1 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/tempvsty/eaabusiness.com/wp-content/themes/globeco/ |
Upload File : |
<?php get_header (); $p_id = get_queried_object_id(); global $cws_theme_funcs; if(!empty($cws_theme_funcs)){ $sb = $cws_theme_funcs->cws_render_sidebars( get_queried_object_id() ); $class = $sb['layout_class'].' '. $sb['sb_class']; $sb['sb_class'] = apply_filters('cws_print_single_class', $class); }else{ global $globeco_theme_standard; } ?> <div class="<?php echo (isset($sb) ? $sb['sb_class'] : 'page_content'); ?>"> <?php echo (isset($sb['content']) && !empty($sb['content'])) ? $sb['content'] : ''; $section_class = "news single"; ?> <main> <div class="grid_row clearfix"> <section class="<?php echo esc_attr($section_class) ?>"> <div class="cws_wrapper"> <div class="grid"> <article class="item clearfix"> <?php while ( have_posts() ): the_post(); ?> <div class="post_wrapper post_post_wrapper posts_grid_post_wrapper clearfix"> <div class="post_info_box"> <?php $thumbnail = wp_get_attachment_image_src( get_the_id(), 'full' ); $thumbnail = !empty( $thumbnail ) ? $thumbnail[0] : ""; echo "<div class='post_media post_post_media post_single_post_media'>"; echo "<div class='pic'>"; $thumbnail_obj = cws_thumb( get_the_id(), array() ); $thumbnail_url = esc_url( $thumbnail_obj[0] ); $thumbnail_retina = isset( $thumb_obj[3] ) ? $thumb_obj[3] : false; $get_alt = get_post_meta(get_the_id(), '_wp_attachment_image_alt', true); $img_alt = " alt='" . (!empty($get_alt) ? $get_alt : get_the_title(get_the_id())) . "'"; if ( $thumbnail_retina ) { echo "<img src='".esc_url($thumbnail_url)."' data-at2x='".esc_url($thumbnail_retina)."' ".$img_alt." />"; } else{ echo "<img src='".esc_url($thumbnail_url)."' data-no-retina ".$img_alt." />"; } echo "</div>"; echo "</div>"; ?> </div> </div> <?php $content = get_the_content(); if ( !empty( $content ) ) echo "<div class='post_content'>" . apply_filters( 'the_content', $content ) . "</div>"; cws_page_links(); endwhile; wp_reset_postdata(); ?> </article> </div> </div> </section> <?php /* ATTACHMENTS NAVIGATION */ ob_start(); previous_image_link( false, "<div class='wrap'><span>" . esc_html__( 'Previous Image', 'globeco' ) . "</span></div>" ); $prev_img_link = ob_get_clean(); ob_start(); next_image_link( false, "<div class='wrap'><span>" . esc_html__( 'Next Image', 'globeco' ) . "</span></div>" ); $next_img_link = ob_get_clean(); if ( !empty( $prev_img_link ) || !empty( $next_img_link ) ){ echo "<nav class='nav_post_links'>"; echo !empty( $prev_img_link ) ? "<div class='prev_section'><div class='prev'>$prev_img_link</div></div>" : ""; echo !empty( $next_img_link ) ? "<div class='next_section'><div class='next'>$next_img_link</div></div>" : ""; echo "</nav>"; } /* \ATTACHMENTS NAVIGATION */ ?> </div> <?php comments_template(); ?> </main> <?php echo (isset($sb['content']) && !empty($sb['content']) ) ? '</div>' : ''; ?> </div> <?php get_footer (); ?>