Flex Loop Builder doesn't work on custom taxonomy archives

Posted in: Newspaper
Post count: 221

Hello,

I have a few custom taxonomies and to display them, I was using flex block builder. But now I want to use filters on my archive pages for which I have to use flex loop builder. They work fine with wordpress core taxonomies but not with custom taxonomies.

Flex loop builders do not have the filters option like post loop in the setting because it automatically display the posts in taxonomies it is used on. For example, If I use flex loop builders to display posts in the default wordpress taxonomy like a category, it will only display the posts in that category. In case of flex block builder, as you know, we have to choose “current category” or other filter as required.

But when I use flex loop builder on the archive of a custom taxonomy, it displays all the posts I have on my website instead of posts inside that taxonomy alone.

For example, I had a lot of tags on my website that were celebrity names. Then, after the theme introduced multiple taxonomies shortcode for single post, I decided to create a new taxonomy called people(for celebrity names) to separate them from tags. Now I am using flex loop builder on both the taxonomy archive pages (tags, people). For tags, I only see the posts inside that tag but for people(custom taxonomy), it shows all the posts that I have published till date.

Please help. Thanks

Post count: 27744

Hello,

Normally the Flex loop builder should work like a Posts Loop block.
The posts loop block doesn’t have the tab for filters, only the flex block has.
You can try to use Flex Block Builder and set the filter there https://i.imgur.com/upcJVsy.jpg

Thank you!

Post count: 221

Does normal post loop work on custom taxonomies? Have you tried it? Does it only display posts under that particular taxonomy? If it does, then let me tell you that flex loop builder is not working like that. It’s showing all the posts that website has. It should only show posts in that taxonomies but that is not what’s happening. If you’d read my post carefully, you would’ve realized that I was already using flex block builder. But I guess you just skimmed through.

I want to use flex loop filters, for that I have to use flex loop builder and flex loop builder should only display posts that are in the taxonomy that it is used on. But it’s not working. Please help.

Thanks.

Post count: 27744

Hello,

Please provide some screenshots or a video with your settings.
Also, please make sure that you have set the custom post type here -> https://i.imgur.com/Q3Eywok.png

Thank you!

Post count: 221

Hi,

I have captured a screen recording wherein you can see that the posts loop, posts loop 2 and even the flex loop work well with the custom taxonomies but when I use flex loop builder it start showing all the posts as compared to those only that are associated with that taxonomy term. However, for default wordpress core taxonomies like categories and tags it works normal. Please have a look at the video.

Thanks.

Post count: 221

Also, please note that when I click on edit with td composer option from the cloud template for custom taxonomies section, it opens the template with data input from the first custom taxonomy that is present. Please see this video for better understanding. Maybe that’s how it should be, IDK, I just wanted to report it.

Thanks

Post count: 35449

Hi,
Thank you for the video. What I suggest is to set on Flex Loop Builder the post type – https://i.imgur.com/b6CQMbV.png this should resolve the problem. The Blocks that has the filter and you choose to filter after the current taxonomy also add that filter for results.
In case that the problem persists after you set the post type, please contact us via email at contact@tagdiv.com and provide a temporary wp-admin access. We’ll investigate the problem and try to make a fix for it to can use the Flex Loop Builder element.
For this video it takes a random post that is in taxonomy, this is used only for design, in editor, this doesn’t have any effect on the filter option.
Thank you!

Post count: 221

Currently, I only have default post type on my website. Should I just put “post” in the post types text box? And if, in future, I have more than one post types using that taxonomy? Enter multiple post types with commas? These taxonomies are meant to be used on all post types now and in future.

Post count: 221

Hi again,

I am not convinced that this is the right way to deal with this issue. It seems to me more like a hack or a trick fix. Moreover, I am using this taxonomy for all the post types. I think you just assumed that I have this custom taxonomy for a custom post type. Nope. It’s for all post types. Suppose you have actors taxonomy, you would use it both for articles and a custom post type such as movies, etc. Presentation of different post types in different ways in a single module block is ofcourse a problem, but that’s for some other day to talk about.

Despite the doubts and hesitation, I followed your suggestion and entered “post” (default post type) in the post type text box because that’s what I am using my custom taxonomy on. The issue has not gone. You don’t think it’s a bug?

I genuinly think that post type filter has nothing to do with it because posts loop, posts loop 2, and flex loop works perfectly fine without it. Food for thought.

Nevertheless, I am sending an email to contact@tagdiv(.)com with all the details required to troubleshoot the issue.

Thanks

Post count: 27744

Hi,

My colleagues will investigate by email, and tell you what can be done.

Thank you!

Post count: 9

Hi you solved this? I am also facing similar issue. What I understand is, on custom taxonomy page, we can select ‘Current Taxonomy’, but if we want add filter on that taxonomy related posts, it is not working.

Like it is ‘showing posts = Current Taxonomy OR Category_id

so, only OR logic is working, but not AND logic.

Post count: 35449
Viewing 12 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic.