-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
61 lines (44 loc) · 1.64 KB
/
single.php
File metadata and controls
61 lines (44 loc) · 1.64 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
52
53
54
55
56
57
58
59
60
61
<?php get_header() ?>
<div class="row page-container">
<div class="col-sm-12">
<div class="col-sm-7 page-content">
<h2 class="page-title"><?php the_title(); ?></h2>
<div class="page-social">
<a href="https://twitter.com/share?url=<?php echo get_permalink(); ?>&text=<?php echo the_title(); ?>">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
</span></a>
<a href="http://www.facebook.com/sharer.php?u=<?php echo get_permalink() ?>">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
</span>
</a>
<a href="mailto:?subject=<?php echo the_title() ?>&body=<?php echo get_permalink()?>">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-envelope-o fa-stack-1x fa-inverse"></i>
</span>
</a>
</div>
<hr>
<div class="post-div">
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<? endwhile; ?>
</div>
</div>
<div class="col-sm-1">
<!-- Empty div just to keep two divs apart -->
</div>
<div class="col-sm-4 twitter-div">
<div>
<?php if ( is_active_sidebar( 'twitter_area' ) ) : ?>
<?php dynamic_sidebar( 'twitter_area' ); ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
<?php get_footer() ?>