Skip Navigation

[Escalated to 2nd Tier] Unable to filter posts on a Beaver Builder website

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 9 replies, has 1 voice.

Last updated by Minesh 1 day, 10 hours ago.

Assisted by: Minesh.

Author
Posts
#2853238

Hey Toolset! For years we've been able to filter a custom post type called "People" on this graduate school website made with Beaver Builder. There are around 800 people associated with the school and they get filtered on different pages whether they are students, faculty, visiting fellows, etc.

I am trying to: filter the people posts on this website as we have previously, either by category, or by adding people one at a time

Link to a page where the issue can be seen: hidden link - We want to remove one current scholar, but are not able to do so).
hidden link - We are not able to filter the people posts anymore

I expected to see: Filtering work as usual, either by category or by individual person

Instead, I got: A random result of people, usually far more than we needed

Here's a screenshare video with more details: hidden link

#2853327

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I checked and I see you are using Advanced posts module from Beaver Builder.

Do you want to have frontend filer where user can select the filter in order to filter the result or you want to pre-filter the results with any of the category?

Toolset has limited integration with Beaver Builder. You can check with the following Doc:
- https://toolset.com/course-lesson/using-toolset-with-beaver-builder/

If you want to have normal custom search then you should try to build a view in legacy mode and then add the view to your beaver builder templatte.
- https://toolset.com/documentation/legacy-features/views-plugin/front-page-filters/

Enable the legacy mode - More info:
- https://toolset.com/course-lesson/enabling-legacy-version-of-toolset-views/

#2853408

Thanks, Minesh!

We don't need anything as fancy as a frontend filer where users can select the filter. We're only wanting to display a single category (like "Balsillie Scholars") from custom post type (called "People") on the page. While this was possible for the past several years, that functionality no longer seems to work - so we cannot display a single category of the "People" custom post type. Even if we select a category of people in the Advanced Posts Module from Ultimate Addons for Beaver Builder (or the normal Posts module for Beaver Builder), that suggestion does not change the listing on the page, and all "People" are shown instead of just a subset of them.

We do have legacy mode enabled for the site.

Any other thoughts on how to fix this?

cheers,
Jacob

#2853472

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

It was not related to Toolset but still I'm happy to take forward step and share the solution with you.

Can you please check now: hidden link

I've added the following filter code to the code snippets section:
- hidden link

function prefix_filter_people_by_balsillie( $args, $settings ) {

    // Target only this module using HTML ID
    if ( isset($settings->id) && $settings->id == 'balsillie-scholar' ) {

        $args['tax_query'] = array(
            array(
                'taxonomy' => 'bsia-people',
                'field'    => 'slug',
                'terms'    => 'balsillie-scholar',
            )
        );

    }

    return $args;
}

add_filter( 'uabb_blog_posts_query_args', 'prefix_filter_people_by_balsillie', 20, 2 );

And I've set the HTHM ID at: Advanced Posts module → Advanced tab I've set
HTML ID: balsillie-scholar

I can see its working as expected.

#2853541

Minesh,

Thank you for that interesting workaround for this issue. This seems to work and I was able to organize these 'balsillie-scholars' in alphabetical order using the UABB Advanced Posts module. But I could not exclude a certain person from this list (such as Barry Appleton in the first row) by using a filter in the UABB Advanced Posts module. Is there a way to do that in the PHP code?

cheers,
Jacob

#2853693

Christopher Amirian
Supporter

Languages: English (English )

Hi Jacob,

Minesh is off today. I will do my best to answer to the best of my knowledge.

I just want to mention that, as this is not related to Toolset, we are unable to provide additional support for a custom code that is not related to Toolset. This will be the best that we can offer within the limits of our support policy:

You can exclude a specific "People" post in the same PHP filter by setting post__not_in.

function prefix_filter_people_by_balsillie( $args, $settings ) {

    if ( isset( $settings->id ) && $settings->id == 'balsillie-scholar' ) {

        $args['tax_query'] = array(
            array(
                'taxonomy' => 'bsia-people',
                'field'    => 'slug',
                'terms'    => 'balsillie-scholar',
            )
        );

        $args['post__not_in'] = array( 1234 );
    }

    return $args;
}

add_filter( 'uabb_blog_posts_query_args', 'prefix_filter_people_by_balsillie', 20, 2 );

Please replace 1234 with the ID of the person you want to exclude. If needed, you can exclude multiple posts like this:

$args['post__not_in'] = array( 1234, 5678 );

Thanks.

#2854407

Hello again and thanks for your support so far.

I touched base with Beaver Builder support and they mentioned: "This is actually a bug that occurs when the Toolset Types plugin is active. Our team is trying to get in touch with them as their plugin hasn't been updated since July 2025, so there's a chance it is no longer compatible with the latest version of BB. Please let them know that multiple users are experiencing issues."

So I'm wondering if that's the case and Toolset Types actually no longer works with Beaver Builder. Is there any chance of Toolset Types being updated to work with the latest version of Beaver Builder? Otherwise, we (and many others) will likely need to move all our sites to ACF instead (sigh).

Thanks for considering this request,
Jacob

#2855655

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I've escalated the issue in front of our Devs and they will do their best in order to fix the issue as soon as possible. I'll get in touch with you as soon as I've update on this.

#2857102

Thanks, Minesh. I'm grateful you escalated this issue to your Devs. It'd be great to hear an update on this when you have one.

#2857125

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Thank you - I will get in touch with you as soon as I have update on this.