-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcontent.php
More file actions
36 lines (34 loc) · 1.04 KB
/
Copy pathcontent.php
File metadata and controls
36 lines (34 loc) · 1.04 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
<?php
/**
* The default template for displaying content
*
* Used for both single and index/archive/search.
*
* @package WordPress
* @subpackage Zoner_Theme
* @since Zoner Theme 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('blog-post standart'); ?>>
<?php if ( is_search() || !is_single()) : ?>
<?php zoner_get_post_thumbnail(); ?>
<?php zoner_get_post_title(); ?>
<?php zoner_get_post_meta(); ?>
<?php the_excerpt(); ?>
<?php zoner_get_readmore_link(); ?>
<?php else : ?>
<?php zoner_get_post_thumbnail(); ?>
<?php zoner_get_post_title(); ?>
<?php zoner_get_post_meta(); ?>
<?php the_content(); ?>
<?php wp_link_pages( array(
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'zoner-lite' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
) );
?>
<?php endif; ?>
</article><!-- #post-## -->
<?php if (is_single()) zoner_get_post_about_author(); ?>
<?php if (is_single()) zoner_visibilty_comments(); ?>