at path:
ROOT
/
wp-content
/
themes
/
kadu
/
template-parts
/
content-search.php
run:
R
W
Run
footer
DIR
2025-12-13 10:18:31
R
W
Run
header
DIR
2025-12-13 10:18:31
R
W
Run
content-career.php
204 By
2024-05-28 06:29:50
R
W
Run
Delete
Rename
content-none.php
1.2 KB
2024-05-28 06:29:50
R
W
Run
Delete
Rename
content-page.php
1.03 KB
2024-05-28 06:29:50
R
W
Run
Delete
Rename
content-portfolio.php
207 By
2024-05-28 06:29:50
R
W
Run
Delete
Rename
content-search.php
1.71 KB
2024-06-23 04:21:40
R
W
Run
Delete
Rename
content-single.php
3.21 KB
2024-06-26 05:47:34
R
W
Run
Delete
Rename
content-template.php
206 By
2024-05-28 06:29:50
R
W
Run
Delete
Rename
content.php
1.72 KB
2024-06-14 09:05:16
R
W
Run
Delete
Rename
error_log
up
📄
content-search.php
Save
<?php /** * Template part for displaying posts * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package kadu */ $categories = get_the_category(); $blog_btn_text = cs_get_option('blog_btn_text'); $hide_blog_date = cs_get_option('hide_blog_date'); $hide_authore = cs_get_option('hide_authore'); $hide_cmt_date = cs_get_option('hide_cmt_date'); ?> <article id="post-<?php the_ID(); ?>" <?php post_class(''); ?>> <div class="blog-page-item-2"> <?php if (has_post_thumbnail()) { ?> <div class="main-img"> <?php the_post_thumbnail('full') ?> </div> <?php } ?> <div class="item-content"> <ul class="meta-author"> <?php if($hide_authore == true):?> <li> <i class="fa-regular fa-user"></i> <?php esc_html_e('By', 'kadu'); ?> <?php the_author();?> </li> <?php endif;?> <?php if($hide_cmt_date == true):?> <li> <i class="fa-regular fa-comment"></i> (<?php echo esc_attr(get_comments_number()); ?>) <?php esc_html_e('comments', 'kadu'); ?> </li> <?php endif;?> <?php if($hide_blog_date == true):?> <li> <i class="fa-light fa-calendar-days"></i> <?php echo date(get_option('date_format')); ?> </li> <?php endif;?> </ul> <h3 class="item-title"> <a href="<?php the_permalink() ?>" aria-label="name"><?php the_title(); ?></a> </h3> <p class="item-disc"><?php the_excerpt(); ?></p> <a href="<?php the_permalink() ?>" class="item-btn" aria-label="name"> <?php if (!empty($blog_btn_text)) { echo esc_html($blog_btn_text); } else { esc_html_e('Read More', 'kadu'); } ?> <i class="fa-solid fa-arrow-right"></i> </a> </div> </div> </article><!-- #post-<?php the_ID(); ?> -->