-
WIBUHAX0R1337
-
/
home
/
coludnqa
/
xtrasolutionsco.com
/
wp-content
/
themes
/
insurez
/
template-parts
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
blog
--
NONE
footer
--
NONE
header
--
NONE
biography.php
1.354KB
Edit File
Delete File
Rename
content-audio.php
2.352KB
Edit File
Delete File
Rename
content-video.php
2.912KB
Edit File
Delete File
Rename
<?php /** * Template part for displaying posts * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package insurez */ $insurez_video_url = function_exists('tm_field')? tm_field('insurez_post_video') : ''; $categories = get_the_terms( $post->ID, 'category' ); $insurez_blog_cat = get_theme_mod( 'insurez_blog_cat', false ); if ( is_single() ): ?> <article id="post-<?php the_ID();?>" <?php post_class( 'postbox__item format-image mb-50 transition-3 format-video' );?>> <?php if ( has_post_thumbnail() ): ?> <div class="postbox__thumb m-img p-relative"> <a href="<?php the_permalink();?>"> <?php the_post_thumbnail( 'full', ['class' => 'img-responsive'] );?> </a> <?php if ( !empty($insurez_video_url) ): ?> <div class="postbox__play-btn"> <a class="popup-video pulse-btn" href="<?php echo esc_url($insurez_video_url); ?>"><i class="fa-sharp fa-solid fa-play"></i></a> </div> <?php endif; ?> </div> <?php endif; ?> <div class="postbox__content"> <?php get_template_part( 'template-parts/blog/blog-meta' ); ?> <h3 class="postbox__title"> <?php the_title();?> </h3> <div class="postbox__text"> <?php the_content();?> <?php wp_link_pages( [ 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'insurez' ), 'after' => '</div>', 'link_before' => '<span class="page-number">', 'link_after' => '</span>', ] ); ?> </div> <div class="postbox__tag-blog"> <?php print insurez_get_tag(); ?> </div> <div class="postbox__social"> <?php insurez_blog_social_share(); ?> </div> </div> </article> <?php else: ?> <article id="post-<?php the_ID();?>" <?php post_class( 'postbox__item format-image mb-30 transition-3 format-video' );?>> <?php if ( has_post_thumbnail() ): ?> <div class="postbox__thumb m-img p-relative"> <a href="<?php the_permalink();?>"> <?php the_post_thumbnail( 'full', ['class' => 'img-responsive'] );?> </a> <?php if ( !empty($insurez_video_url) ): ?> <div class="postbox__play-btn"> <a class="popup-video pulse-btn" href="<?php echo esc_url($insurez_video_url); ?>"><i class="fa-sharp fa-solid fa-play"></i></a> </div> <?php endif; ?> </div> <?php endif; ?> <div class="postbox__content"> <?php get_template_part( 'template-parts/blog/blog-meta' ); ?> <h3 class="postbox__title"> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> </h3> <div class="postbox__text"> <?php the_excerpt();?> </div> </div> <?php get_template_part( 'template-parts/blog/blog-btn' ); ?> </article> <?php endif;?>
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat