forked from dimpurr/Clearision
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
48 lines (31 loc) · 1.02 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php get_header(); ?>
<div id="ctn">
<div id="content">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<article <?php post_class(); ?>>
<?php get_template_part('content'); ?>
</article>
<?php endwhile; ?>
<div id="page_nav"><?php c_pagenavi(); ?></div>
<?php else : ?>
<article id="post-0" class="post no-results not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e('什么都没有找到','clrs'); ?></h1>
</header>
<div class="entry-content">
<p><?php _e('哎呀,你要找的东西好像被贝爷吃掉了……','clrs'); ?></p>
<?php get_search_form(); ?>
</div>
</article>
<?php endif; ?>
</div>
</div>
<?php $ldis = get_option('clrs_ldis');
if ($ldis == "yes") { $c_ldis = "block"; } else { $c_ldis = "none"; }; ?>
<div id="link" style="display:<?php echo $c_ldis; ?>"><div id="link_content">
<h3 id="link_h"><?php _e('友情链接','clrs'); ?></h3>
<?php echo get_option('clrs_link'); ?>
</div></div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>