-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.php
74 lines (58 loc) · 1.35 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
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
<?php
/**
* The template for displaying all single posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package Elementify
*/
namespace Elementify;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
get_header();
?>
<?php
/**
* Functions hooked into elementify/before_content action
*
*/
do_action( 'elementify/before_content' );
?>
<main id="main" class="site-main ele-d-flex ele-flex-col ele-flex-column">
<?php
/**
* Functions hooked into elementify/post/content/before_loop action
*
*/
do_action('elementify/post/content/before_loop');
while ( have_posts() ) : the_post();
/**
* Functions hooked into elementify_post_content action
*
*/
do_action('elementify/post/before_content');
get_template_part( 'template-parts/content', 'single' );
/**
* Functions hooked into elementify_post_content action
*
* @hooked elementify_post_after_content_elements - 10
*/
do_action('elementify/post/after_content');
endwhile; // End of the loop.
/**
* Functions hooked into elementify/post/content/after_loop action
*
*/
do_action('elementify/post/content/after_loop');
?>
</main><!-- #main -->
<?php
/**
* Functions hooked into elementify/after_content action
*
* @hooked elementify_sidebar - 10
*/
do_action( 'elementify/after_content' );
?>
<?php get_footer(); ?>