Skip Navigation

[Resolved] view categories duplicated when beaver builder is activated

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 8 replies, has 2 voices.

Last updated by bryan 6 years, 3 months ago.

Assisted by: Nigel.

Author
Posts
#1120417
Screenshot 2018-10-04 14.04.33.png

view categories label is duplicated when beaver builder is activated;

checking further is appears one is for posts an done for templates, but this is ONLY evident from the archive view, IMO the template category should have a different label

#1120742

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Bryan, thanks for pointing that out.

I have raised the issue with the developers so that the labelling can be clarified.

#1121009

Nigel,

Thanks for that and sorry for my typos.

I think its worth changing the label as it caused me a lot of confusion... I wonder if I can be notified when this is changed?

best regards

bryan

#1121022
Screenshot 2018-10-05 07.51.30.png

just adding another place where I see the labeling issue
cheers

#1122603

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Bryan

Sorry, the feedback I got was that Beaver Builder register a taxonomy with a specific slug but the generic label categories, and Views is simply displaying these labels, we cannot change how Beaver Builder registers the taxonomy.

It is a peculiar choice on their part, but it has the unfortunate consequence you see.

#1124367

Nigel thanks - I will raise a ticket with Beaver Builder - shall we leave this open till they respond ?

#1124574

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Bryan

as it is out of our hands it will be for information only, and depending on how long it takes for them to respond you may end up in a ping-pong with the support bot that will want to close the thread after a week of inactivity.

I think you can close the thread or let it expire and then go ahead and comment again when you have an update from Beaver to share for the record.

#1125124

Nigel,

from BB

We added a filter way back in version 1.10 for filtering the $args passed to register_taxonomy() its called fl_builder_register_template_category_args.

Simon

which I read as - user problem - IMO this is a BB issue and it should not require a filter to fix it.

so anyway thanks for you help

---
ref.

hidden link
---
fl_builder_register_template_category_args extensions/fl-builder-user-templates/classes/class-fl-builder-user-templates-post-type.php
Line: 85 $args = apply_filters( 'fl_builder_register_template_category_args', array(

----

and wrote a quick and dirty filter which works then asked BB support Simon what it effects,

function ii_fl_builder_register_template_category_args_filter( $iirray ) {
$iirray = array(
'labels' => array(
'name' => _x( 'bbCategories', 'Custom taxonomy label.', 'fl-builder' ),
'singular_name' => _x( 'bbCategory', 'Custom taxonomy label.', 'fl-builder' ),
'search_items' => _x( 'Search bbCategories', 'Custom taxonomy label.', 'fl-builder' ),
'all_items' => _x( 'All bbCategories', 'Custom taxonomy label.', 'fl-builder' ),
'parent_item' => _x( 'Parent bbCategory', 'Custom taxonomy label.', 'fl-builder' ),
'parent_item_colon' => _x( 'Parent bbCategory:', 'Custom taxonomy label.', 'fl-builder' ),
'edit_item' => _x( 'Edit bbCategory', 'Custom taxonomy label.', 'fl-builder' ),
'update_item' => _x( 'Update bbCategory', 'Custom taxonomy label.', 'fl-builder' ),
'add_new_item' => _x( 'Add New bbCategory', 'Custom taxonomy label.', 'fl-builder' ),
'new_item_name' => _x( 'New bbCategory Name', 'Custom taxonomy label.', 'fl-builder' ),
'menu_name' => _x( 'bbCategories', 'Custom taxonomy label.', 'fl-builder' ),
),
);
return $iirray;
}

add_filter( 'fl_builder_register_template_category_args', 'ii_fl_builder_register_template_category_args_filter', 10, 1 );

I will close this after submitting

#1125125

as per last update
thanks