đ Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
home
/
users
/
2
/
fujibow
/
web
/
fujibow.co.jp
/
wp-test
/
wp-content
/
themes
/
fujibow
âïž
Editing: category.php
<?php get_header(); ?> <?php //æ ć ±ććŸ $cat_name = single_cat_title('', false); //ă«ăăŽăȘăŒćććŸ $cat_slug = get_query_var('category_name'); //ă«ăăŽăȘăŒăčă©ăă°ććŸ ?> <main id="archive" class="archive <?php echo $cat_slug; ?>-archive"> <?php // ăăăăŒ,ăłăłăăłăèȘăżèŸŒăż $page_header_args = [ 'slug' => 'News', 'title' => 'ăç„ăă', 'image' => IMG_PATH . '/common/page-header-works.svg', ]; $header_type = 'header'; // ăăŒăžăăăăŒăŹă€ăąăŠă get_template_part('template-parts/page', $header_type, $page_header_args); ?> <div class="news-cat"> <div class="news-cat__inner inner"> <div class="news-cat__menus" id="news-menu"> <a class="news-cat__menu<?php if (is_category('news')) echo ' is-active'; ?>" href="<?php echo esc_url(home_url()); ?>/category/news/"><span>ăç„ăă</span></a> <a class="news-cat__menu<?php if (is_category('movie')) echo ' is-active'; ?>" href="<?php echo esc_url(home_url()); ?>/category/movie/"><span>ćç»ăźăŁă©ăȘăŒ</span></a> </div> <div class="news-cat__content"> <?php if (have_posts()) : ?> <ul class="news-cat__list"> <?php while (have_posts()) : the_post(); ?> <li class="news-cat__item"> <?php if (is_category('news')) : ?> <a class="news-cat__item-link" href="<?php the_permalink(); ?>"> <div class="news-cat__item-img"> <?php if (has_post_thumbnail()) : ?> <img src="<?php the_post_thumbnail_url('full'); ?>" alt=""> <?php else : ?> <img src="<?php echo IMG_PATH; ?>/news/logo-thumb.svg" alt=""> <?php endif; ?> </div> <div class="news-cat__item-body"> <time class="news-cat__item-date" datetime="<?php the_time('c'); ?>"><?php the_time('Y/m/d'); ?></time> <p class="news-cat__item-title"><?php the_title(); ?></p> </div> </a> <?php elseif (is_category('movie')) : ?> <div class="news-cat__item-video"> <?php the_content(); ?> </div> <div class="news-cat__item-body"> <p class="news-cat__item-title"><?php the_title(); ?></p> </div> <?php endif; ?> </li> <?php endwhile; ?> </ul> <div class="news-cat__page-nav"> <?php get_template_part('template-parts/archive-pagination'); ?> </div> <?php else : ?> <p class="news-cat__post-none">çŸćšăç„ăăăŻăăăŸăăă</p> <?php endif; ?> </div> </div> </div> </main> <?php get_footer(); ?>
đŸ Save Changes
â Cancel