File manager - Edit - /home/carfac/public_html/REPhotoUtah/wp-content/themes/outdoor/content.php
Back
<?php ?> <article <?php post_class('content-content post-entry');?>> <?php if( outdoor_global_var('blog_post_meta_position') != 'bellow_title' && ( outdoor_global_var('blog_date') || outdoor_global_var('blog_author')|| outdoor_global_var('blog_cats')|| outdoor_global_var('blog_comments') ) ):?> <ul class="blog-title"> <?php if(outdoor_global_var('blog_date')) :?> <li><a class="tag" href="<?php echo get_day_link((int)get_the_time('Y' ), (int)get_the_time('m' ), (int)get_the_time('d' )); ?>"> <?php the_time(get_option('date_format'));?></a></li> <?php endif;?> <?php if(outdoor_global_var('blog_comments')) :?> <li><?php comments_popup_link(esc_html__('0 comment', 'outdoor'), esc_html__('1 comment', 'outdoor'), esc_html__('% comments', 'outdoor')); ?></li> <?php endif;?> <?php if(outdoor_global_var('blog_author')) :?> <li><?php esc_html_e('Posted by ','outdoor');?> <?php the_author_posts_link( );?></li> <?php endif;?> <?php if(outdoor_global_var('blog_cats')) :?> <?php if(get_the_category( )) { ?> <li><?php the_category(', ' ); ?></li> <?php } ?> <?php endif;?> </ul> <?php endif;?> <?php // Get the list of files $slider_images = get_post_meta( get_the_ID(), '_cmb_post_slider_images', true); if( !empty($slider_images) ){ ?> <div class="blog-media"> <div class="custom-slider-holder"> <div class="custom-slider owl-carousel refreshonresizeowl"> <?php foreach ( (array) $slider_images as $img_id => $img_url ) { ?> <div class="item"> <?php echo wp_get_attachment_image( $img_id, 'outdoorblog-thumb', false, array('class'=>'respimg') ); ?> </div> <?php } ?> </div> <div class="customNavigation"> <a class="prev-slide"><i class="fa fa-angle-left"></i></a> <a class="next-slide"><i class="fa fa-angle-right"></i></a> </div> </div> </div> <?php }elseif(get_post_meta(get_the_ID(), '_cmb_embed_video', true)!=""){ ?> <div class="blog-media"> <div class="responsive-video"> <?php echo wp_oembed_get(esc_url(get_post_meta(get_the_ID(), '_cmb_embed_video', true) )); ?> </div> </div> <?php }elseif(has_post_thumbnail( )){ ?> <div class="blog-media"> <div class="box-item"> <a href="<?php the_permalink();?>"> <span class="overlay"></span> <?php the_post_thumbnail('outdoorblog-thumb',array('class'=>'respimg') ); ?> </a> </div> </div> <?php } ?> <div class="blog-text"> <h3><a href="<?php the_permalink();?>"><?php the_title( );?></a> <?php edit_post_link( esc_html__( 'Edit', 'outdoor' ), '<span class="edit-link">', '</span>' ); ?></h3> <?php if( outdoor_global_var('blog_post_meta_position') == 'bellow_title' && ( outdoor_global_var('blog_date') || outdoor_global_var('blog_author')|| outdoor_global_var('blog_cats')|| outdoor_global_var('blog_comments') ) ):?> <ul class="blog-title"> <?php if(outdoor_global_var('blog_date')) :?> <li><a class="tag" href="<?php echo get_day_link((int)get_the_time('Y' ), (int)get_the_time('m' ), (int)get_the_time('d' )); ?>"> <?php the_time(get_option('date_format'));?></a></li> <?php endif;?> <?php if(outdoor_global_var('blog_comments')) :?> <li><?php comments_popup_link(esc_html__('0 comment', 'outdoor'), esc_html__('1 comment', 'outdoor'), esc_html__('% comments', 'outdoor')); ?></li> <?php endif;?> <?php if(outdoor_global_var('blog_author')) :?> <li><?php esc_html_e('Posted by ','outdoor');?> <?php the_author_posts_link( );?></li> <?php endif;?> <?php if(outdoor_global_var('blog_cats')) :?> <?php if(get_the_category( )) { ?> <li><?php the_category(', ' ); ?></li> <?php } ?> <?php endif;?> </ul> <?php endif;?> <?php the_excerpt();?> <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'outdoor' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>', ) ); ?> <?php if(outdoor_global_var('blog_tags')) :?> <?php if(get_the_tags( )) { ?> <ul class="tagcloud indexposts"> <?php the_tags('<li>','</li><li>','</li>');?> </ul> <?php } ?> <?php endif;?> <div class="clearfix"></div> <a href="<?php the_permalink();?>" class="ajax btn"><?php echo wp_kses(__('<span>read more </span> <i class="fa fa-long-arrow-right"></i>','outdoor'),array('span'=>array(),'i'=>array('class'=>array())) );?></a> </div> </article>
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.24 |
proxy
|
phpinfo
|
Settings