-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.php
More file actions
40 lines (32 loc) · 690 Bytes
/
Copy pathpage.php
File metadata and controls
40 lines (32 loc) · 690 Bytes
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
<?php
// We'll be outputting a PDF
/*ob_start();
header("Content-Type: application/pdf");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
header("Content-Disposition:attachment;filename='downloaded.pdf'");
readfile("give.pdf");
ob_end_flush();*/
get_header();
?>
<div class="collumn main">
<?php
if(have_posts()) {
while(have_posts()) {
the_post();
?>
<div class="p_excerpt">
<?php the_content(); ?>
</div>
<br>
<?php
}
echo paginate_links();
}
?>
</div> <!-- end collumn main -->
<div class="collumn side">
<?php get_sidebar(); ?>
</div>
</div> <!-- end row -->
</div> <!-- end content -->
<?php get_footer(); ?>