1
|
1 |
<?php |
|
2 |
|
|
3 |
function thematic_search_form() { |
|
4 |
$search_form = "\n" . "\t"; |
|
5 |
$search_form .= '<form id="searchform" method="get" action="' . get_bloginfo('home') .'">'; |
|
6 |
$search_form .= "\n" . "\t" . "\t"; |
|
7 |
$search_form .= '<div>'; |
|
8 |
$search_form .= "\n" . "\t" . "\t". "\t"; |
|
9 |
if (is_search()) { |
|
10 |
$search_form .= '<input id="s" name="s" type="text" value="' . wp_specialchars(stripslashes($_GET['s']), true) .'" size="32" tabindex="1" />'; |
|
11 |
} else { |
|
12 |
$value = __('To search, type and hit enter', 'thematic'); |
|
13 |
$value = apply_filters('search_field_value',$value); |
|
14 |
$search_form .= '<input id="s" name="s" type="text" value="' . $value . '" onfocus="if (this.value == \'' . $value . '\') {this.value = \'\';}" onblur="if (this.value == \'\') {this.value = \'' . $value . '\';}" size="32" tabindex="1" />'; |
|
15 |
} |
|
16 |
$search_form .= "\n" . "\t" . "\t". "\t"; |
|
17 |
|
|
18 |
$search_submit = '<input id="searchsubmit" name="searchsubmit" type="submit" value="' . __('Search', 'thematic') . '" tabindex="2" />'; |
|
19 |
|
|
20 |
$search_form .= apply_filters('thematic_search_submit', $search_submit); |
|
21 |
|
|
22 |
$search_form .= "\n" . "\t" . "\t"; |
|
23 |
$search_form .= '</div>'; |
|
24 |
|
|
25 |
$search_form .= "\n" . "\t"; |
|
26 |
$search_form .= '</form>'; |
|
27 |
|
|
28 |
echo apply_filters('thematic_search_form', $search_form); |
|
29 |
|
|
30 |
} |
|
31 |
|
|
32 |
// Widgets plugin: intializes the plugin after the widgets above have passed snuff |
|
33 |
|
|
34 |
function thematic_widgets_init() { |
|
35 |
|
|
36 |
// Define array for the widgetized areas |
|
37 |
$thematic_widgetized_areas = array( |
|
38 |
'Primary Aside' => array( |
|
39 |
'admin_menu_order' => 100, |
|
40 |
'args' => array ( |
|
41 |
'name' => 'Primary Aside', |
|
42 |
'id' => 'primary-aside', |
|
43 |
'description' => __('The primary widget area, most often used as a sidebar.', 'thematic'), |
|
44 |
'before_widget' => thematic_before_widget(), |
|
45 |
'after_widget' => thematic_after_widget(), |
|
46 |
'before_title' => thematic_before_title(), |
|
47 |
'after_title' => thematic_after_title(), |
|
48 |
), |
|
49 |
'action_hook' => 'widget_area_primary_aside', |
|
50 |
'function' => 'thematic_primary_aside', |
|
51 |
'priority' => 10, |
|
52 |
), |
|
53 |
'Secondary Aside' => array( |
|
54 |
'admin_menu_order' => 200, |
|
55 |
'args' => array ( |
|
56 |
'name' => 'Secondary Aside', |
|
57 |
'id' => 'secondary-aside', |
|
58 |
'description' => __('The secondary widget area, most often used as a sidebar.', 'thematic'), |
|
59 |
'before_widget' => thematic_before_widget(), |
|
60 |
'after_widget' => thematic_after_widget(), |
|
61 |
'before_title' => thematic_before_title(), |
|
62 |
'after_title' => thematic_after_title(), |
|
63 |
), |
|
64 |
'action_hook' => 'widget_area_secondary_aside', |
|
65 |
'function' => 'thematic_secondary_aside', |
|
66 |
'priority' => 10, |
|
67 |
), |
|
68 |
'1st Subsidiary Aside' => array( |
|
69 |
'admin_menu_order' => 300, |
|
70 |
'args' => array ( |
|
71 |
'name' => '1st Subsidiary Aside', |
|
72 |
'id' => '1st-subsidiary-aside', |
|
73 |
'description' => __('The 1st widget area in the footer.', 'thematic'), |
|
74 |
'before_widget' => thematic_before_widget(), |
|
75 |
'after_widget' => thematic_after_widget(), |
|
76 |
'before_title' => thematic_before_title(), |
|
77 |
'after_title' => thematic_after_title(), |
|
78 |
), |
|
79 |
'action_hook' => 'widget_area_subsidiaries', |
|
80 |
'function' => 'thematic_1st_subsidiary_aside', |
|
81 |
'priority' => 30, |
|
82 |
), |
|
83 |
'2nd Subsidiary Aside' => array( |
|
84 |
'admin_menu_order' => 400, |
|
85 |
'args' => array ( |
|
86 |
'name' => '2nd Subsidiary Aside', |
|
87 |
'id' => '2nd-subsidiary-aside', |
|
88 |
'description' => __('The 2nd widget area in the footer.', 'thematic'), |
|
89 |
'before_widget' => thematic_before_widget(), |
|
90 |
'after_widget' => thematic_after_widget(), |
|
91 |
'before_title' => thematic_before_title(), |
|
92 |
'after_title' => thematic_after_title(), |
|
93 |
), |
|
94 |
'action_hook' => 'widget_area_subsidiaries', |
|
95 |
'function' => 'thematic_2nd_subsidiary_aside', |
|
96 |
'priority' => 50, |
|
97 |
), |
|
98 |
'3rd Subsidiary Aside' => array( |
|
99 |
'admin_menu_order' => 500, |
|
100 |
'args' => array ( |
|
101 |
'name' => '3rd Subsidiary Aside', |
|
102 |
'id' => '3rd-subsidiary-aside', |
|
103 |
'description' => __('The 3rd widget area in the footer.', 'thematic'), |
|
104 |
'before_widget' => thematic_before_widget(), |
|
105 |
'after_widget' => thematic_after_widget(), |
|
106 |
'before_title' => thematic_before_title(), |
|
107 |
'after_title' => thematic_after_title(), |
|
108 |
), |
|
109 |
'action_hook' => 'widget_area_subsidiaries', |
|
110 |
'function' => 'thematic_3rd_subsidiary_aside', |
|
111 |
'priority' => 70, |
|
112 |
), |
|
113 |
'Index Top' => array( |
|
114 |
'admin_menu_order' => 600, |
|
115 |
'args' => array ( |
|
116 |
'name' => 'Index Top', |
|
117 |
'id' => 'index-top', |
|
118 |
'description' => __('The top widget area displayed on the index page.', 'thematic'), |
|
119 |
'before_widget' => thematic_before_widget(), |
|
120 |
'after_widget' => thematic_after_widget(), |
|
121 |
'before_title' => thematic_before_title(), |
|
122 |
'after_title' => thematic_after_title(), |
|
123 |
), |
|
124 |
'action_hook' => 'widget_area_index_top', |
|
125 |
'function' => 'thematic_index_top', |
|
126 |
'priority' => 10, |
|
127 |
), |
|
128 |
'Index Insert' => array( |
|
129 |
'admin_menu_order' => 700, |
|
130 |
'args' => array ( |
|
131 |
'name' => 'Index Insert', |
|
132 |
'id' => 'index-insert', |
|
133 |
'description' => __('The widget area inserted after x posts on the index page.', 'thematic'), |
|
134 |
'before_widget' => thematic_before_widget(), |
|
135 |
'after_widget' => thematic_after_widget(), |
|
136 |
'before_title' => thematic_before_title(), |
|
137 |
'after_title' => thematic_after_title(), |
|
138 |
), |
|
139 |
'action_hook' => 'widget_area_index_insert', |
|
140 |
'function' => 'thematic_index_insert', |
|
141 |
'priority' => 10, |
|
142 |
), |
|
143 |
'Index Bottom' => array( |
|
144 |
'admin_menu_order' => 800, |
|
145 |
'args' => array ( |
|
146 |
'name' => 'Index Bottom', |
|
147 |
'id' => 'index-bottom', |
|
148 |
'description' => __('The bottom widget area displayed on the index page.', 'thematic'), |
|
149 |
'before_widget' => thematic_before_widget(), |
|
150 |
'after_widget' => thematic_after_widget(), |
|
151 |
'before_title' => thematic_before_title(), |
|
152 |
'after_title' => thematic_after_title(), |
|
153 |
), |
|
154 |
'action_hook' => 'widget_area_index_bottom', |
|
155 |
'function' => 'thematic_index_bottom', |
|
156 |
'priority' => 10, |
|
157 |
), |
|
158 |
'Single Top' => array( |
|
159 |
'admin_menu_order' => 900, |
|
160 |
'args' => array ( |
|
161 |
'name' => 'Single Top', |
|
162 |
'id' => 'single-top', |
|
163 |
'description' => __('The top widget area displayed on a single post.', 'thematic'), |
|
164 |
'before_widget' => thematic_before_widget(), |
|
165 |
'after_widget' => thematic_after_widget(), |
|
166 |
'before_title' => thematic_before_title(), |
|
167 |
'after_title' => thematic_after_title(), |
|
168 |
), |
|
169 |
'action_hook' => 'widget_area_single_top', |
|
170 |
'function' => 'thematic_single_top', |
|
171 |
'priority' => 10, |
|
172 |
), |
|
173 |
'Single Insert' => array( |
|
174 |
'admin_menu_order' => 1000, |
|
175 |
'args' => array ( |
|
176 |
'name' => 'Single Insert', |
|
177 |
'id' => 'single-insert', |
|
178 |
'description' => __('The widget area inserted between the post and the comments on a single post.', 'thematic'), |
|
179 |
'before_widget' => thematic_before_widget(), |
|
180 |
'after_widget' => thematic_after_widget(), |
|
181 |
'before_title' => thematic_before_title(), |
|
182 |
'after_title' => thematic_after_title(), |
|
183 |
), |
|
184 |
'action_hook' => 'widget_area_single_insert', |
|
185 |
'function' => 'thematic_single_insert', |
|
186 |
'priority' => 10, |
|
187 |
), |
|
188 |
'Single Bottom' => array( |
|
189 |
'admin_menu_order' => 1100, |
|
190 |
'args' => array ( |
|
191 |
'name' => 'Single Bottom', |
|
192 |
'id' => 'single-bottom', |
|
193 |
'description' => __('The bottom widget area displayed on a single post.', 'thematic'), |
|
194 |
'before_widget' => thematic_before_widget(), |
|
195 |
'after_widget' => thematic_after_widget(), |
|
196 |
'before_title' => thematic_before_title(), |
|
197 |
'after_title' => thematic_after_title(), |
|
198 |
), |
|
199 |
'action_hook' => 'widget_area_single_bottom', |
|
200 |
'function' => 'thematic_single_bottom', |
|
201 |
'priority' => 10, |
|
202 |
), |
|
203 |
'Page Top' => array( |
|
204 |
'admin_menu_order' => 1200, |
|
205 |
'args' => array ( |
|
206 |
'name' => 'Page Top', |
|
207 |
'id' => 'page-top', |
|
208 |
'description' => __('The top widget area displayed on a page.', 'thematic'), |
|
209 |
'before_widget' => thematic_before_widget(), |
|
210 |
'after_widget' => thematic_after_widget(), |
|
211 |
'before_title' => thematic_before_title(), |
|
212 |
'after_title' => thematic_after_title(), |
|
213 |
), |
|
214 |
'action_hook' => 'widget_area_page_top', |
|
215 |
'function' => 'thematic_page_top', |
|
216 |
'priority' => 10, |
|
217 |
), |
|
218 |
'Page Bottom' => array( |
|
219 |
'admin_menu_order' => 1300, |
|
220 |
'args' => array ( |
|
221 |
'name' => 'Page Bottom', |
|
222 |
'id' => 'page-bottom', |
|
223 |
'description' => __('The bottom widget area displayed on a page.', 'thematic'), |
|
224 |
'before_widget' => thematic_before_widget(), |
|
225 |
'after_widget' => thematic_after_widget(), |
|
226 |
'before_title' => thematic_before_title(), |
|
227 |
'after_title' => thematic_after_title(), |
|
228 |
), |
|
229 |
'action_hook' => 'widget_area_page_bottom', |
|
230 |
'function' => 'thematic_page_bottom', |
|
231 |
'priority' => 10, |
|
232 |
), |
|
233 |
); |
|
234 |
|
|
235 |
$thematic_widgetized_areas = apply_filters('thematic_widgetized_areas', $thematic_widgetized_areas); |
|
236 |
|
|
237 |
if ( !function_exists('register_sidebars') ) |
|
238 |
return; |
|
239 |
|
|
240 |
foreach ($thematic_widgetized_areas as $key => $value) { |
|
241 |
register_sidebar($thematic_widgetized_areas[$key]['args']); |
|
242 |
if (!has_action($thematic_widgetized_areas[$key]['action_hook'], $thematic_widgetized_areas[$key]['function'])) { |
|
243 |
add_action($thematic_widgetized_areas[$key]['action_hook'], $thematic_widgetized_areas[$key]['function'], $thematic_widgetized_areas[$key]['priority']); |
|
244 |
} |
|
245 |
} |
|
246 |
|
|
247 |
// we will check for a Thematic widgets directory and and add and activate additional widgets |
|
248 |
// Thanks to Joern Kretzschmar |
|
249 |
$widgets_dir = @ dir(ABSPATH . '/wp-content/themes/' . get_template() . '/widgets'); |
|
250 |
if ($widgets_dir) { |
|
251 |
while(($widgetFile = $widgets_dir->read()) !== false) { |
|
252 |
if (!preg_match('|^\.+$|', $widgetFile) && preg_match('|\.php$|', $widgetFile)) |
|
253 |
include(ABSPATH . '/wp-content/themes/' . get_template() . '/widgets/' . $widgetFile); |
|
254 |
} |
|
255 |
} |
|
256 |
|
|
257 |
// we will check for the child themes widgets directory and add and activate additional widgets |
|
258 |
// Thanks to Joern Kretzschmar |
|
259 |
$widgets_dir = @ dir(ABSPATH . '/wp-content/themes/' . get_stylesheet() . '/widgets'); |
|
260 |
if ((TEMPLATENAME != THEMENAME) && ($widgets_dir)) { |
|
261 |
while(($widgetFile = $widgets_dir->read()) !== false) { |
|
262 |
if (!preg_match('|^\.+$|', $widgetFile) && preg_match('|\.php$|', $widgetFile)) |
|
263 |
include(ABSPATH . '/wp-content/themes/' . get_stylesheet() . '/widgets/' . $widgetFile); |
|
264 |
} |
|
265 |
} |
|
266 |
|
|
267 |
// Remove WP default Widgets |
|
268 |
// WP 2.8 function using $widget_class |
|
269 |
if (function_exists('unregister_widget')) { |
|
270 |
unregister_widget('WP_Widget_Meta'); |
|
271 |
unregister_widget('WP_Widget_Search'); |
|
272 |
unregister_widget(''); |
|
273 |
|
|
274 |
// pre WP 2.8 function using $id |
|
275 |
} else { |
|
276 |
unregister_widget_control('meta'); |
|
277 |
unregister_widget_control('search'); |
|
278 |
} |
|
279 |
|
|
280 |
// Finished intializing Widgets plugin, now let's load the thematic default widgets |
|
281 |
register_sidebar_widget(__('Search', 'thematic'), 'widget_thematic_search', null, 'search'); |
|
282 |
unregister_widget_control('search'); |
|
283 |
register_sidebar_widget(__('Meta', 'thematic'), 'widget_thematic_meta', null, 'meta'); |
|
284 |
unregister_widget_control('meta'); |
|
285 |
register_sidebar_widget(array(__('RSS Links', 'thematic'), 'widgets'), 'widget_thematic_rsslinks'); |
|
286 |
register_widget_control(array(__('RSS Links', 'thematic'), 'widgets'), 'widget_thematic_rsslinks_control', 300, 90); |
|
287 |
|
|
288 |
// Pre-set Widgets |
|
289 |
$preset_widgets = array ( |
|
290 |
'primary-aside' => array( 'search', 'pages', 'categories', 'archives' ), |
|
291 |
'secondary-aside' => array( 'links', 'rss-links', 'meta' ) |
|
292 |
); |
|
293 |
|
|
294 |
if ( isset( $_GET['activated'] ) ) { |
|
295 |
update_option( 'sidebars_widgets', apply_filters('thematic_preset_widgets',$preset_widgets )); |
|
296 |
} |
|
297 |
|
|
298 |
} |
|
299 |
|
|
300 |
// Runs our code at the end to check that everything needed has loaded |
|
301 |
add_action( 'widgets_init', 'thematic_widgets_init' ); |
|
302 |
|
|
303 |
// We sort our array of widgetized areas to get a nice list display under wp-admin |
|
304 |
function thematic_sort_widgetized_areas($content) { |
|
305 |
asort($content); |
|
306 |
return $content; |
|
307 |
} |
|
308 |
add_filter('thematic_widgetized_areas', 'thematic_sort_widgetized_areas', 100); |
|
309 |
|
|
310 |
// We start our functions for the widgetized areas here |
|
311 |
|
|
312 |
// Define the Primary Aside |
|
313 |
function thematic_primary_aside() { |
|
314 |
if (is_sidebar_active('primary-aside')) { |
|
315 |
echo thematic_before_widget_area('primary-aside'); |
|
316 |
dynamic_sidebar('primary-aside'); |
|
317 |
echo thematic_after_widget_area('primary-aside'); |
|
318 |
} |
|
319 |
} |
|
320 |
|
|
321 |
// Define the Secondary Aside |
|
322 |
function thematic_secondary_aside() { |
|
323 |
if (is_sidebar_active('secondary-aside')) { |
|
324 |
echo thematic_before_widget_area('secondary-aside'); |
|
325 |
dynamic_sidebar('secondary-aside'); |
|
326 |
echo thematic_after_widget_area('secondary-aside'); |
|
327 |
} |
|
328 |
} |
|
329 |
|
|
330 |
// Define the 1st Subsidiary Aside |
|
331 |
function thematic_1st_subsidiary_aside() { |
|
332 |
if (is_sidebar_active('1st-subsidiary-aside')) { |
|
333 |
echo thematic_before_widget_area('1st-subsidiary-aside'); |
|
334 |
dynamic_sidebar('1st-subsidiary-aside'); |
|
335 |
echo thematic_after_widget_area('1st-subsidiary-aside'); |
|
336 |
} |
|
337 |
} |
|
338 |
|
|
339 |
// Define the 2nd Subsidiary Aside |
|
340 |
function thematic_2nd_subsidiary_aside() { |
|
341 |
if (is_sidebar_active('2nd-subsidiary-aside')) { |
|
342 |
echo thematic_before_widget_area('2nd-subsidiary-aside'); |
|
343 |
dynamic_sidebar('2nd-subsidiary-aside'); |
|
344 |
echo thematic_after_widget_area('2nd-subsidiary-aside'); |
|
345 |
} |
|
346 |
} |
|
347 |
|
|
348 |
// Define the 3rd Subsidiary Aside |
|
349 |
function thematic_3rd_subsidiary_aside() { |
|
350 |
if (is_sidebar_active('3rd-subsidiary-aside')) { |
|
351 |
echo thematic_before_widget_area('3rd-subsidiary-aside'); |
|
352 |
dynamic_sidebar('3rd-subsidiary-aside'); |
|
353 |
echo thematic_after_widget_area('3rd-subsidiary-aside'); |
|
354 |
} |
|
355 |
} |
|
356 |
|
|
357 |
// Define the Index Top |
|
358 |
function thematic_index_top() { |
|
359 |
if (is_sidebar_active('index-top')) { |
|
360 |
echo thematic_before_widget_area('index-top'); |
|
361 |
dynamic_sidebar('index-top'); |
|
362 |
echo thematic_after_widget_area('index-top'); |
|
363 |
} |
|
364 |
} |
|
365 |
|
|
366 |
// Define the Index Insert |
|
367 |
function thematic_index_insert() { |
|
368 |
if (is_sidebar_active('index-insert')) { |
|
369 |
echo thematic_before_widget_area('index-insert'); |
|
370 |
dynamic_sidebar('index-insert'); |
|
371 |
echo thematic_after_widget_area('index-insert'); |
|
372 |
} |
|
373 |
} |
|
374 |
|
|
375 |
// Define the Index Bottom |
|
376 |
function thematic_index_bottom() { |
|
377 |
if (is_sidebar_active('index-bottom')) { |
|
378 |
echo thematic_before_widget_area('index-bottom'); |
|
379 |
dynamic_sidebar('index-bottom'); |
|
380 |
echo thematic_after_widget_area('index-bottom'); |
|
381 |
} |
|
382 |
} |
|
383 |
|
|
384 |
// Define the Single Top |
|
385 |
function thematic_single_top() { |
|
386 |
if (is_sidebar_active('single-top')) { |
|
387 |
echo thematic_before_widget_area('single-top'); |
|
388 |
dynamic_sidebar('single-top'); |
|
389 |
echo thematic_after_widget_area('single-top'); |
|
390 |
} |
|
391 |
} |
|
392 |
|
|
393 |
// Define the Single Insert |
|
394 |
function thematic_single_insert() { |
|
395 |
if (is_sidebar_active('single-insert')) { |
|
396 |
echo thematic_before_widget_area('single-insert'); |
|
397 |
dynamic_sidebar('single-insert'); |
|
398 |
echo thematic_after_widget_area('single-insert'); |
|
399 |
} |
|
400 |
} |
|
401 |
|
|
402 |
// Define the Single Bottom |
|
403 |
function thematic_single_bottom() { |
|
404 |
if (is_sidebar_active('single-bottom')) { |
|
405 |
echo thematic_before_widget_area('single-bottom'); |
|
406 |
dynamic_sidebar('single-bottom'); |
|
407 |
echo thematic_after_widget_area('single-bottom'); |
|
408 |
} |
|
409 |
} |
|
410 |
|
|
411 |
// Define the Page Top |
|
412 |
function thematic_page_top() { |
|
413 |
if (is_sidebar_active('page-top')) { |
|
414 |
echo thematic_before_widget_area('page-top'); |
|
415 |
dynamic_sidebar('page-top'); |
|
416 |
echo thematic_after_widget_area('page-top'); |
|
417 |
} |
|
418 |
} |
|
419 |
|
|
420 |
// Define the Page Bottom |
|
421 |
function thematic_page_bottom() { |
|
422 |
if (is_sidebar_active('page-bottom')) { |
|
423 |
echo thematic_before_widget_area('page-bottom'); |
|
424 |
dynamic_sidebar('page-bottom'); |
|
425 |
echo thematic_after_widget_area('page-bottom'); |
|
426 |
} |
|
427 |
} |
|
428 |
|
|
429 |
// this function returns the opening CSS markup for the widget area |
|
430 |
function thematic_before_widget_area($hook) { |
|
431 |
$content = "\n"; |
|
432 |
if ($hook == 'primary-aside') { |
|
433 |
$content .= '<div id="primary" class="aside main-aside">' . "\n"; |
|
434 |
} elseif ($hook == 'secondary-aside') { |
|
435 |
$content .= '<div id="secondary" class="aside main-aside">' . "\n"; |
|
436 |
} elseif ($hook == '1st-subsidiary-aside') { |
|
437 |
$content .= '<div id="first" class="aside sub-aside">' . "\n"; |
|
438 |
} elseif ($hook == '2nd-subsidiary-aside') { |
|
439 |
$content .= '<div id="second" class="aside sub-aside">' . "\n"; |
|
440 |
} elseif ($hook == '3rd-subsidiary-aside') { |
|
441 |
$content .= '<div id="third" class="aside sub-aside">' . "\n"; |
|
442 |
} else { |
|
443 |
$content .= '<div id="' . $hook . '" class="aside">' ."\n"; |
|
444 |
} |
|
445 |
$content .= "\t" . '<ul class="xoxo">' . "\n"; |
|
446 |
return apply_filters('thematic_before_widget_area', $content); |
|
447 |
} |
|
448 |
|
|
449 |
// this function returns the clossing CSS markup for the widget area |
|
450 |
function thematic_after_widget_area($hook) { |
|
451 |
$content = "\n" . "\t" . '</ul>' ."\n"; |
|
452 |
if ($hook == 'primary-aside') { |
|
453 |
$content .= '</div><!-- #primary .aside -->' ."\n"; |
|
454 |
} elseif ($hook == 'secondary-aside') { |
|
455 |
$content .= '</div><!-- #secondary .aside -->' ."\n"; |
|
456 |
} elseif ($hook == '1st-subsidiary-aside') { |
|
457 |
$content .= '</div><!-- #first .aside -->' ."\n"; |
|
458 |
} elseif ($hook == '2nd-subsidiary-aside') { |
|
459 |
$content .= '</div><!-- #second .aside -->' ."\n"; |
|
460 |
} elseif ($hook == '3rd-subsidiary-aside') { |
|
461 |
$content .= '</div><!-- #third .aside -->' ."\n"; |
|
462 |
} else { |
|
463 |
$content .= '</div><!-- #' . $hook . ' .aside -->' ."\n"; |
|
464 |
} |
|
465 |
return apply_filters('thematic_after_widget_area', $content); |
|
466 |
} |
|
467 |
|
|
468 |
?> |