-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsingle.php
More file actions
69 lines (49 loc) · 3.15 KB
/
Copy pathsingle.php
File metadata and controls
69 lines (49 loc) · 3.15 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
62
63
64
65
66
67
68
69
<?php get_header(); ?>
<div class="bigcontainer4">
<div class="container">
<div id="content">
<div id="inner-content" class="wrap clearfix">
<div class="blog_post">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article" itemscope itemtype="http://schema.org/BlogPosting">
<div class="blog_post_single_img"><?php
if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
the_post_thumbnail('');
}
?></div>
<div class="blog_post_single_databg"><div class="blog_post_single_title_2"><h2 class="blog_post_single_title_1"><?php the_title(); ?></h2></div>
<div class="blog_post_single_data"><?php
printf(__('<time class="updated" datetime="%1$s" pubdate>%2$s</time> <span class="amp"> | </span> by <span class="author">%3$s</span> <span class="amp"> | </span> filed under %4$s.', 'fundler'), get_the_time('Y-m-j'), get_the_time(get_option('date_format')), fundler_get_the_author_posts_link(), get_the_category_list(', '));
?></div></div>
<section class="entry-content clearfix" itemprop="articleBody">
<?php the_content(); ?>
</section>
<div class="blog_post_single_data2">
<div class="data_left"><?php the_tags('<p class="tags"><span class="tags-title">' . __('Tags:') . '</span> ', ', ', '</p>'); ?></div><div class="data_right"><a href="http://www.facebook.com/sharer.php?u=<?php the_permalink() ?>" target="_blank" title="Click to share"><img src="<?php bloginfo('template_directory'); ?>/images/share_fb.png" alt="" /></a>
<a href="http://twitter.com/share?text=<?php the_title_attribute(); ?>&url=<?php the_permalink() ?>" target="_blank" title="Click to share"><img src="<?php bloginfo('template_directory'); ?>/images/share_tw.png" alt="" /></a>
<a href="https://plus.google.com/share?url=<?php the_permalink() ?>" target="_blank" title="Click to share"><img src="<?php bloginfo('template_directory'); ?>/images/share_g.png" alt="" /></a>
<a href="http://www.linkedin.com/shareArticle?mini=true&url=<?php the_permalink() ?>&title=<?php the_permalink() ?>" target="_blank" title="Click to share"><img src="<?php bloginfo('template_directory'); ?>/images/share_li.png" alt="" /></a></div>
</div>
<?php comments_template(); ?>
</article> <!-- end article -->
<?php endwhile; ?>
<?php else : ?>
<article id="post-not-found" class="hentry clearfix">
<header class="article-header">
<h1><?php _e("Oops, Post Not Found!", "fundler"); ?></h1>
</header>
<section class="entry-content">
<p><?php _e("Uh Oh. Something is missing. Try double checking things.", "fundler"); ?></p>
</section>
<footer class="article-footer">
<p><?php _e("This is the error message in the single.php template.", "fundler"); ?></p>
</footer>
</article>
<?php endif; ?>
</div>
<div class="blog_sidebar">
<?php get_sidebar(); ?></div>
</div> <!-- end #inner-content -->
</div> <!-- end #content -->
</div></div>
<?php get_footer(); ?>