-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
57 lines (42 loc) · 1.5 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
49
50
51
52
53
54
55
56
57
<!--Get Header Function-->
<?php get_header(); ?>
<!--Begin Text-->
<div id="content">
<!--The Standard loop-->
<?php if ( have_posts() ): while ( have_posts()):the_post(); //start the loop?>
<article class="post-excerpt">
<!--The Post Thumbnail FUNction-->
<h2>
<a href="<?php the_permalink();//link to the page or posting?>">
<?php the_title();//get the page or posting ?> </a>
</h2>
<!--The Time, Author and Category FUNctions-->
<!--<small>
Posted on <?php the_time('F j, Y'); ?>
</small>-->
<a href="<?php the_permalink(); ?>">
<?php the_post_thumbnail( 'thumbnail' ); ?>
</a>
<!--The Except FUNction, gets the posting's except-->
<?php the_excerpt(); ?>
<p class="read-more">
<a href="<?php the_permalink(); ?>">Read More</a>
</p>
</article>
<?php endwhile; ?>
<nav class="post-nav">
<p class="alignleft"><?php previous_posts_link('« Previous posts') ?></p>
<p class="alignright"><?php next_posts_link('Recent posts »') ?></p>
</nav>
<?php endif; //end the loop?>
</div>
<!--End Text-->
<!--Get Sidebar Function-->
<?php get_sidebar(); ?>
<!-- Apply & Donate Buttons -->
<div clas="buttons">
<a class="button" href="http://www.abekeller.tzaccara.com/grants/apply/">Apply</a>
<a class="button" href="http://www.abekeller.tzaccara.com/donate/">Donate</a>
</div>
<!--Get Footer Function-->
<?php get_footer(); ?>