-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar-post.php
More file actions
59 lines (42 loc) · 1.64 KB
/
sidebar-post.php
File metadata and controls
59 lines (42 loc) · 1.64 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
<?php
// Exit if accessed directly
if ( !defined('ABSPATH')) exit;
/**
* Main Widget Template
*
*
* @file sidebar-post.php
* @package AI
* @author Emil Uzelac, Ulrich Pogson
* @copyright 2003 - 2013 ThemeID
* @license license.txt
* @version Release: 1.0
* @filesource wp-content/themes/ai/sidebar-post.php
* @link http://codex.wordpress.org/Theme_Development#Widgets_.28sidebar.php.29
* @since available since Release 1.0
*/
?>
<div id="widgets" class="grid col-220 fit">
<div class="widget-wrapper">
<div class="post-meta-wrapper">
<?php responsive_post_meta_data(); ?>
<div class="post-meta">
<?php if ( comments_open() ) : ?>
<span class="comments-link">
<?php comments_popup_link( __( 'No Comments', 'responsive' ), __( '← 1 Comment', 'responsive' ), __( '← % Comments', 'responsive' ) ); ?>
</span>
<?php endif; ?>
</div><!-- end of .post-meta -->
</div><!-- end of .post-meta-wrapper -->
<?php if ( get_the_author_meta('description') != '' ) : ?>
<div id="author-meta">
<?php if ( function_exists('get_avatar') ) { echo get_avatar( get_the_author_meta('email'), '200' ); }?>
<p><?php the_author_meta('description') ?></p>
</div><!-- end of #author-meta -->
<?php endif; // no description, no author's meta ?>
</div><!-- end of .widget-wrapper -->
<?php responsive_widgets(); // above widgets hook ?>
<?php if (!dynamic_sidebar('post-sidebar')) : ?>
<?php endif; //end of post-sidebar ?>
<?php responsive_widgets_end(); // after widgets hook ?>
</div><!-- end of #widgets -->