feat: Argon WordPress主题完整版本
- 基于Argon主题的WordPress博客主题 - 支持响应式设计和暗色模式 - 包含完整的文章管理和评论系统 - 集成友情链接管理功能 - 支持多种自定义设置选项 - 优化的用户界面和交互体验
This commit is contained in:
27
index.php
Normal file
27
index.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<div class="page-information-card-container"></div>
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
<main id="main" class="site-main article-list article-list-home" role="main">
|
||||
<?php if ( have_posts() ) : ?>
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
if (get_post_type() == 'shuoshuo'){
|
||||
get_template_part( 'template-parts/content-shuoshuo-preview' );
|
||||
}else{
|
||||
get_template_part( 'template-parts/content-preview', get_option('argon_article_list_layout', '1'));
|
||||
}
|
||||
endwhile;
|
||||
?>
|
||||
<?php
|
||||
echo get_argon_formatted_paginate_links_for_all_platforms();
|
||||
?>
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
Reference in New Issue
Block a user