File tree Expand file tree Collapse file tree
plugins/bcc-login/includes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1048,7 +1048,7 @@ function post_group_tags_widget($atts) {
10481048 $ post_id = get_the_ID ();
10491049 if (!$ post_id ) return false ;
10501050
1051- $ attributes = shortcode_atts (array ('limit ' => 1000 , 'with_link ' => false ), $ atts );
1051+ $ attributes = shortcode_atts (array ('limit ' => 100 , 'with_link ' => true ), $ atts );
10521052
10531053 $ post_groups = get_post_meta ($ post_id , 'bcc_groups ' , false );
10541054 $ filtering_groups = $ this ->_settings ->filtering_groups ;
@@ -1057,7 +1057,7 @@ function post_group_tags_widget($atts) {
10571057 $ html = '' ;
10581058
10591059 foreach ($ shown_groups as $ group ) {
1060- $ link = $ attributes ['with_link ' ] == true ? '?target-groups[]= ' . $ group : 'javascript:void(0) ' ;
1060+ $ link = $ attributes ['with_link ' ] == true ? '/informasjon/ ?target-groups[]= ' . $ group : 'javascript:void(0) ' ;
10611061 $ html .= '<a class="bcc-badge bcc-badge-sm bcc-badge-custom" href=" ' . $ link . '"><i class="material-symbols-rounded">info</i><span> ' . $ this ->get_group_name ($ group ) . '</span></a> ' ;
10621062 }
10631063
You can’t perform that action at this time.
0 commit comments