|
@@ -17,10 +17,11 @@ |
|
17
|
17
|
|
|
18
|
18
|
// Creating widget front-end |
|
19
|
19
|
public function widget($args, $instance) |
|
20
|
20
|
{ |
|
21
|
+ wp_enqueue_style('bbpc-forum'); |
|
22
|
+ |
|
21
|
23
|
global $post; |
|
22
|
|
- |
|
23
|
24
|
if (!$post || !isset($post->ID) || $post->post_type != 'topic') { |
|
24
|
25
|
return; |
|
25
|
26
|
} |
|
26
|
27
|
|