forked from ffullenk/gobcl-wp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
executable file
·87 lines (59 loc) · 1.86 KB
/
single.php
File metadata and controls
executable file
·87 lines (59 loc) · 1.86 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?php
get_header();
$thecat = get_the_category(get_the_ID());
?>
<div id="content">
<div class="wrap">
<div id="main">
<div id="breadcrumbs">
<ul>
<li><a href="<?php echo site_url(); ?>">Inicio</a></li>
<li class="sep">/</li>
<li><a href="<?php echo get_category_link($thecat[0]->term_id); ?>"><?php echo $thecat[0]->name ?> »</a></li>
</ul>
<div class="clearfix"></div>
</div>
<div class="post">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="pic">
<?php the_post_thumbnail('660x9999'); ?>
</div>
<div class="clearfix"></div>
<div class="social">
<ul>
<li>
<div class="fb-like" data-href="<?php the_permalink(); ?>" data-layout="button_count" data-action="like" data-show-faces="false" data-share="true"></div>
</li>
<li>
<a href="https://twitter.com/share" class="twitter-share-button" data-via="gobiernodechile" data-lang="es" data-url="<?php the_permalink(); ?>">Twittear</a>
</li>
</ul>
</div>
<div class="fontsize">
<ul>
<li class="small"><a data-size="10">a</a></li>
<li class="medium current"><a data-size="14">a</a></li>
<li class="large"><a data-size="20">a</a></li>
</ul>
</div>
<div class="clearfix"></div>
<div class="texto">
<span class="meta"><?php the_time( 'j \d\e F \d\e Y '); ?></span>
<h3 class="title"><?php the_title(); ?></h3>
<div class="contenido">
<?php the_content(); ?>
</div>
</div>
<?php endwhile; ?>
<?php else: ?>
<?php endif; ?>
<div class="clearfix"></div>
</div>
</div>
<!-- Sidebar -->
<?php get_sidebar(); ?>
<div class="clearfix"></div>
</div>
</div>
<div class="clearfix"></div>
<?php get_footer(); ?>