diff --git a/.gitignore b/.gitignore index 8c1c2a2..1b2a4c6 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ *.bak .idea/ .php_cs.cache +.php-cs-fixer.cache diff --git a/functions.php b/functions.php index ecdef5e..fd99670 100644 --- a/functions.php +++ b/functions.php @@ -301,6 +301,7 @@ function cbsonline_wpforo_after_init_current_object($current_object, $wpf_url_pa ]; $current_object['topics'] = cbsonline_wpforo_topic_get_topics($args, $current_object['items_count']); } + $current_object['categories'] = [$forum]; } else { $current_object['is_404'] = true; }