-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
49 lines (38 loc) · 690 Bytes
/
Copy pathsingle.php
File metadata and controls
49 lines (38 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
39
40
41
42
43
44
45
46
47
<?php get_header(); ?>
<?php
if($is_chrome) {
echo "browser is chrome";
if ( is_user_logged_in() ) { ?>
<a href="<?php echo wp_logout_url(); ?>">Logout</a>
<?php }
}
if(have_posts()) {
?>
<div class="collumn main">
<?php
while(have_posts()) {
the_post();
if(!is_page()) {
?>
<div class="p_excerpt">
<?php the_title(); the_content(); ?>
</div>
<?php
}
?>
<br>
<?php
}
previous_post_link();
next_post_link();
?>
<?php
}
?>
</div> <!-- end collumn main -->
<div class="collumn side">
<?php get_sidebar(); ?>
</div>
</div> <!-- end row -->
</div> <!-- end content -->
<?php get_footer(); ?>