-
Notifications
You must be signed in to change notification settings - Fork 199
/
taxonomy-module.php
68 lines (61 loc) · 1.33 KB
/
taxonomy-module.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
<?php
/**
* The template for displaying a module.
*
* Override this template by copying it to your_theme/sensei/taxonomy-module.php.
*
* @author Automattic
* @package Sensei
* @category Templates
* @version 1.9.20
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
get_sensei_header();
?>
<?php
/**
* Fires before rendering any markup on the module page.
*
* @since 1.9.20
*
* @hook sensei_taxonomy_module_content_before
*/
do_action( 'sensei_taxonomy_module_content_before' );
?>
<?php if ( have_posts() ) : ?>
<section class="module-container" >
<?php
/**
* Fires before rendering the module content.
*
* @since 1.9.20
*
* @hook sensei_taxonomy_module_content_inside_before
*/
do_action( 'sensei_taxonomy_module_content_inside_before' );
?>
<?php
/**
* Fires after rendering the module content.
*
* @since 1.9.20
*
* @hook sensei_taxonomy_module_content_inside_after
*/
do_action( 'sensei_taxonomy_module_content_inside_after' );
?>
</section>
<?php endif; ?>
<?php
/**
* Fires after rendering all markup on the module page.
*
* @since 1.9.20
*
* @hook sensei_taxonomy_module_content_after
*/
do_action( 'sensei_taxonomy_module_content_after' );
?>
<?php get_sensei_footer(); ?>