-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloop.php
More file actions
51 lines (46 loc) · 1.06 KB
/
loop.php
File metadata and controls
51 lines (46 loc) · 1.06 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
43
44
45
46
47
48
49
50
51
<?php if (!is_single()):?>
<div id='main-content' class="span-16 colborder">
<div class="main_content">
<?php while ( have_posts() ) : the_post(); ?>
<h1>
<a href='<?php the_permalink(); ?>'><?php the_title(); ?></a>
</h1>
<p>
<?php the_excerpt(); ?>
</p>
<p>
</p>
<div>
<div style="float:left">
<h1>
<a class='read-more' href='<?php the_permalink(); ?>'>more... </a>
</h1>
</div>
<div style="float:right">
<a href='<?php the_author_meta('user_url'); ?> '><img src="<?php bloginfo('template_directory'); ?>/images/btn_donate.gif" width="65" height="25" /></a>
</div>
<div style="clear:both"></div>
</div>
<hr />
<?php endwhile; ?>
</div>
</div>
<?php else:?>
<div id='main-content' class="span-16 colborder">
<div class="main_content">
<?php while ( have_posts() ) : the_post(); ?>
<h1>
<a href='<?php the_permalink(); ?>'><?php the_title(); ?></a>
</h1>
<p>
<?php the_content(); ?>
</p>
<p>
</p>
<hr />
<?php endwhile; ?>
</div>
</div>
<?php endif; ?>