-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.php
70 lines (69 loc) · 2.41 KB
/
single.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
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php
/**
* The Template for displaying all single posts
*
*/
get_header();
?>
<div id="container">
<div id="content" class="eleven columns">
<?php the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="dp100">
<div class="item">
<div id="top" class="dp100 breadcrumbs-one entrycontent">
<ul id="breadcrumbs-one">
<li>
<div style="display:inline" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="<?php echo esc_url(home_url( '/' )); ?>" itemprop="url">
<div class="homebutton"><span itemprop="title"><?php _e('Home', 'codium-now') ?></span></div>
</a>
</div>
</li>
<?php
$categories = get_the_category();
$output = '';
if($categories){
foreach($categories as $category) {
?>
<li class="divider">/</li>
<li>
<div style="display:inline" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a href="<?php echo get_category_link( $category->term_id ); ?>" itemprop="url"><span itemprop="title"><?php echo $category->cat_name; ?></span></a></div>
</li>
<?php
}
}
?>
</ul>
</div>
</div>
<div class="clear"></div>
<div class="entry-content">
<div class="dp100 postlink">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
<div class="hr"></div>
<?php the_content(); ?>
<div class="clear"></div>
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'codium-now' ), 'after' => '</div>' ) ); ?>
<div class="entry-meta">
<?php codium_now_posted_on(); ?>
<?php codium_now_posted_in(); ?>
<?php edit_post_link(__('Edit', 'codium-now'), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>"); ?>
</div>
<div class="clear"></div>
<div class="hr"></div>
<div id="nav-below" class="navigation">
<div class="nav-previous"><?php previous_post_link('%link', '<span class="meta-nav-left"></span> %title') ?></div>
<div class="nav-next"><?php next_post_link('%link', '%title <span class="meta-nav-right"></span>') ?></div>
</div>
<div class="clear"></div>
<div class="hr"></div>
<?php comments_template(); ?>
</div>
</div>
</div>
</div>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>