-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
41 lines (36 loc) · 1.14 KB
/
single.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
<?php
global $eva_v1_locale;
$user_locale = get_user_locale();
$using_locale = $eva_v1_locale[$user_locale];
?>
<?php get_header(); ?>
<div class="center">
<div class="single-wrapper">
<?php while (have_posts()): ?>
<?php the_post(); ?>
<?php get_template_part('template-parts/content/content'); ?>
<h1 class="comment-title"><?php echo $using_locale['single']['Comments']; ?></h1>
<?php get_template_part('template-parts/comments'); ?>
<?php endwhile ?>
<?php
eva_v1_reverse_post_navigation(
array(
'next_text' =>
'<span class="post-navigation">'
. '%title'
. '<span class="arrow-right">'
. ' »'
. '</span>'
. '</span>',
'prev_text' => '<span class="post-navigation">'
. '<span class="arrow-left">'
. '« '
. '</span>'
. '%title'
. '</span>',
)
);
?>
</div>
</div>
<?php get_footer(); ?>