blob: 14ca3bbe7a1c6fb74e37338f4b47a06d1add54f3 (
plain)
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
|
<?php
/*
* Theme hooks
*
* @package mantra
* @subpackage Functions
*/
/**
* HEADER.PHP HOOKS
*/
// Before wp_head hook
function cryout_header_hook() {
do_action('cryout_header_hook');
}
// SEO hook
function cryout_seo_hook() {
do_action('cryout_seo_hook');
}
// Before wrapper
function cryout_body_hook() {
do_action('cryout_body_hook');
}
// Inside wrapper
function cryout_wrapper_hook() {
do_action('cryout_wrapper_hook');
}
// Inside branding
function cryout_branding_hook() {
do_action('cryout_branding_hook');
}
// Inside access
function cryout_access_hook() {
do_action('cryout_access_hook');
}
// Inside forbottom
function cryout_forbottom_hook() {
do_action('cryout_forbottom_hook');
}
// Breadcrumbs
function cryout_breadcrumbs_hook() {
do_action('cryout_breadcrumbs_hook');
}
/**
* FOOTER.PHP HOOKS
*/
// Footer hook
function cryout_footer_hook() {
do_action('cryout_footer_hook');
}
/**
* COMMENTS.PHP HOOKS
*/
// Before comments hook
function cryout_before_comments_hook() {
do_action('cryout_before_comments_hook');
}
// Actual comments hook
function cryout_comments_hook() {
do_action('cryout_comments_hook');
}
// After comments hook
function cryout_after_comments_hook() {
do_action('cryout_after_comments_hook');
}
// No comments hook
function cryout_nocomments_hook() {
do_action('cryout_nocomments_hook');
}
/**
* SIDEBAR.PHP HOOKS
*/
// No comments hook
function cryout_before_primary_widgets_hook() {
do_action('cryout_before_primary_widgets_hook');
}
// No comments hook
function cryout_after_primary_widgets_hook() {
do_action('cryout_after_primary_widgets_hook');
}
// No comments hook
function cryout_before_secondary_widgets_hook() {
do_action('cryout_before_secondary_widgets_hook');
}
// No comments hook
function cryout_after_secondary_widgets_hook() {
do_action('cryout_after_secondary_widgets_hook');
}
/**
* LOOP.PHP HOOKS
*/
// Before each article hook
function cryout_before_article_hook() {
do_action('cryout_before_article_hook');
}
// After each article hook
function cryout_after_article_hook() {
do_action('cryout_after_article_hook');
}
// After each article title
function cryout_post_title_hook() {
do_action('cryout_post_title_hook');
}
// After each post meta
function cryout_post_meta_hook() {
do_action('cryout_post_meta_hook');
}
// Before the actual post content
function cryout_post_before_content_hook() {
do_action('cryout_post_before_content_hook');
}
// After the actual post content
function cryout_post_after_content_hook() {
do_action('cryout_post_after_content_hook');
}
// After the actual post content
function cryout_post_footer_hook() {
do_action('cryout_post_footer_hook');
}
//Content hooks
function cryout_before_content_hook() {
do_action('cryout_before_content_hook');
}
function cryout_after_content_hook() {
do_action('cryout_after_content_hook');
}
?>
|