-
Notifications
You must be signed in to change notification settings - Fork 1
/
category.php
43 lines (41 loc) · 1.9 KB
/
category.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
<?php get_header(); ?>
<div class="main-container">
<section id="news">
<header class="page-header clearfix">
<div class="container">
<div class="twelve columns">
<aside class="social">
<div class="facebook">
<iframe src="//www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&send=false&layout=button_count&width=100&show_faces=false&font=verdana&colorscheme=light&action=like&height=90&appId=521681297871040" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width: 100px; height:22px;" allowTransparency="true"></iframe>
</div>
<div class="twitter">
<a href="https://twitter.com/share" class="twitter-share-button" data-url="<?php the_permalink(); ?>" data-lang="en" data-count="horizontal">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
</aside>
<p class="breadcrumb">
<a href="<?php echo home_url('/'); ?>"><?php bloginfo('name'); ?></a>
<span class="sep">></span>
<a href="<?php echo home_url('/news/'); ?>"><?php _e('News', 'latavelha'); ?></a>
</p>
<h1><?php single_cat_title(); ?></h1>
<p class="description"><?php _e('Get to know what\'s going on at the pre-salt region.', 'latavelha'); ?></p>
</div>
</div>
</header>
<div class="container">
<div class="eight columns">
<?php get_template_part('loop', 'post'); ?>
<?php if(function_exists('wp_paginate')) wp_paginate(); ?>
</div>
<div class="four columns">
<aside id="sidebar">
<ul class="widgets">
<?php dynamic_sidebar('generic'); ?>
</ul>
</aside>
</div>
</div>
</section>
</div>
<?php get_footer(); ?>