-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsingle_mobile.php
More file actions
42 lines (41 loc) · 1.51 KB
/
single_mobile.php
File metadata and controls
42 lines (41 loc) · 1.51 KB
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
<div id="mobile_row0" class="mobile_row mobile_single_row">
<div id="title">
<div id="name">
<a href="<?php echo esc_url(home_url('/')); ?>"
title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>"
rel="home"><?php bloginfo('name'); ?></a>
</div>
<div id="info">
<?php bloginfo('description'); ?>
</div>
</div>
</div>
<div id="mobile_row1" class="mobile_row mobile_single_row">
<?php while (have_posts()) : the_post(); ?>
<div class="post_words">
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?> >
<div class="post_info">
<?php the_category(' '); ?><?php edit_post_link(__('编辑', 'blackcooler'), ''); ?>
</div>
<div class="post_title">
<a href="<?php the_permalink() ?>" rel="bookmark"
title="进入单页的 <?php the_title(); ?>">
<?php the_title(); ?>
</a>
</div>
<div class="post_content">
<?php the_content('...点这里浏览全文 »'); ?>
</div>
<div class="sign">
<strong><?php the_author(); ?></strong>创作于<?php the_time('Y.m.jS') ?>
</div>
</div>
</div>
<?php
comments_template('/comments.php', true);
endwhile; ?>
</div>
<div id="mobile_row2" class="mobile_row mobile_single_row">
<?php get_sidebar() ?>
</div>
<?php echo do_shortcode('[redonleft_copyright]'); ?>