-
Notifications
You must be signed in to change notification settings - Fork 0
/
content.php
57 lines (56 loc) · 1.95 KB
/
content.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
<?php
/**
* The default template for displaying content
*
* Used for both single and index/archive/search.
*
* @package WordPress
* @subpackage Bugcrowd
* @since Bugcrowd 1.0
*/
?>
<?php if ( is_single() ) : ?>
<article class="post feature container">
<div class="entry-meta caps">
<?php bugcrowd_entry_meta(); ?>
</div>
<h1 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
<?php the_post_thumbnail(); ?>
<div class="entry-summary delta">
<?php the_excerpt(); ?>
</div>
<div class="entry-content">
<aside>
<nav class="nav-single">
<span class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '', 'Previous post link', 'bugcrowd' ) . '%title </span> ' ); ?></span>
<span class="nav-list"><a href="<?php echo home_url(); ?>"><span><?php _e( 'List', 'bugcrowd' ); ?></span></a></span>
<span class="nav-next"><?php next_post_link( '%link', '<span class="meta-nav"> %title' . _x( '', 'Next post link', 'bugcrowd' ) . '</span>' ); ?></span>
</nav><!-- .nav-single -->
<div class="social">
<?php dd_buffer_generate('Normal') ?>
<?php dd_twitter_generate('Normal','saxonfletcher') ?>
<?php dd_linkedin_generate('Normal') ?>
<?php dd_fblike_xfbml_generate('Like Box Count') ?>
<?php dd_google1_generate('Normal') ?>
</div>
</aside>
<?php the_content(); ?>
</div>
</article>
<?php else : ?>
<article class="post small">
<div class="container">
<div class="row">
<header class="entry-header col-md-4">
<h2 class="beta"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<div class="entry-meta">
<time class="entry-date" datetime="%3$s"><?php echo esc_html( get_the_date() ) ?></time>
</div>
</header>
<div class="entry-summary col-md-7 col-md-offset-1">
<?php the_excerpt(); ?>
</div>
</div>
</div>
</article>
<?php endif; ?>