mirror of
https://ghproxy.net/https://github.com/AlxMedia/splits.git
synced 2025-08-27 01:44:44 +08:00
Change theme name from Split to Splits
This commit is contained in:
parent
c7ac424d85
commit
7f892aacf5
36 changed files with 593 additions and 1471 deletions
|
@ -1,7 +1,7 @@
|
|||
<div class="page-title">
|
||||
|
||||
<?php if ( is_home() ) : ?>
|
||||
<h2><?php echo split_blog_title(); ?></h2>
|
||||
<h2><?php echo splits_blog_title(); ?></h2>
|
||||
|
||||
<?php elseif ( is_single() ): ?>
|
||||
<h2><?php the_category(' <span>/</span> '); ?></h2>
|
||||
|
@ -15,34 +15,34 @@
|
|||
<?php if ( !have_posts() ): ?><i class="fas fa-exclamation-circle"></i><?php endif; ?>
|
||||
<?php $search_results=$wp_query->found_posts;
|
||||
if ($search_results==1) {
|
||||
echo $search_results.' '.esc_html__('Search result','split');
|
||||
echo $search_results.' '.esc_html__('Search result','splits');
|
||||
} else {
|
||||
echo $search_results.' '.esc_html__('Search results','split');
|
||||
echo $search_results.' '.esc_html__('Search results','splits');
|
||||
}
|
||||
?>
|
||||
</h1>
|
||||
|
||||
<?php elseif ( is_404() ): ?>
|
||||
<h1><i class="fas fa-exclamation-circle"></i><?php esc_html_e('Error 404.','split'); ?> <span><?php esc_html_e('Page not found!','split'); ?></span></h1>
|
||||
<h1><i class="fas fa-exclamation-circle"></i><?php esc_html_e('Error 404.','splits'); ?> <span><?php esc_html_e('Page not found!','splits'); ?></span></h1>
|
||||
|
||||
<?php elseif ( is_author() ): ?>
|
||||
<?php $author = get_userdata( get_query_var('author') );?>
|
||||
<h1><i class="far fa-user"></i><?php esc_html_e('Author:','split'); ?> <span><?php echo $author->display_name;?></span></h1>
|
||||
<h1><i class="far fa-user"></i><?php esc_html_e('Author:','splits'); ?> <span><?php echo $author->display_name;?></span></h1>
|
||||
|
||||
<?php elseif ( is_category() ): ?>
|
||||
<h1><?php echo single_cat_title('', false); ?></h1>
|
||||
|
||||
<?php elseif ( is_tag() ): ?>
|
||||
<h1><i class="fas fa-tags"></i><?php esc_html_e('Tagged:','split'); ?> <span><?php echo single_tag_title('', false); ?></span></h1>
|
||||
<h1><i class="fas fa-tags"></i><?php esc_html_e('Tagged:','splits'); ?> <span><?php echo single_tag_title('', false); ?></span></h1>
|
||||
|
||||
<?php elseif ( is_day() ): ?>
|
||||
<h1><i class="far fa-calendar"></i><?php esc_html_e('Daily Archive:','split'); ?> <span><?php echo esc_html( get_the_time('F j, Y') ); ?></span></h1>
|
||||
<h1><i class="far fa-calendar"></i><?php esc_html_e('Daily Archive:','splits'); ?> <span><?php echo esc_html( get_the_time('F j, Y') ); ?></span></h1>
|
||||
|
||||
<?php elseif ( is_month() ): ?>
|
||||
<h1><i class="far fa-calendar"></i><?php esc_html_e('Monthly Archive:','split'); ?> <span><?php echo esc_html( get_the_time('F Y') ); ?></span></h1>
|
||||
<h1><i class="far fa-calendar"></i><?php esc_html_e('Monthly Archive:','splits'); ?> <span><?php echo esc_html( get_the_time('F Y') ); ?></span></h1>
|
||||
|
||||
<?php elseif ( is_year() ): ?>
|
||||
<h1><i class="far fa-calendar"></i><?php esc_html_e('Yearly Archive:','split'); ?> <span><?php echo esc_html( get_the_time('Y') ); ?></span></h1>
|
||||
<h1><i class="far fa-calendar"></i><?php esc_html_e('Yearly Archive:','splits'); ?> <span><?php echo esc_html( get_the_time('Y') ); ?></span></h1>
|
||||
|
||||
<?php else: ?>
|
||||
<h2><?php the_title(); ?></h2>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue