Hi there,
We have Toolset Types (latest version) installed to create Custom Post types, we've created 'Job Posts' CPT using Types. Also, we are using Elementor Pro to build pages.
With Elementor there is a built-in widget to display/query the CPT posts with a filter to filter the post based on the taxonomy terms. I have it to display 3 items per page, and there is a load more button at the bottom to load more posts.
The issue is that the filtering isn't working properly. When I click on a term, it does displays the first 3 posts correctly, but once the load more button is clicked, it doesn't load the posts tagged with that term. Instead it just loads the next 3 posts (ordered by date) after the 3rd post. I have contacted Elementor support about this issue, but they keep telling us to contact the third-party plugin author (that created the CPT) because of compatibility issue. This is why I have contacted Toolset Support to confirm is this an Elementor issue.
This is an example of the issue, please find the url below:
hidden link
It loads the recent 3 posts and there is a load more button at the bottom.
If you click on one of the terms such as 'Term 1', it shows the first 3 posts correctly:
-Job Post 10
-Job Post 8
-Job Post 7
Once you click on the load more button, it loads posts not tagged with that term.
The next 3 posts should be:
-Job Post 5
-Job Post 4
-Job Post 1
I have attached a screenshot of job posts tagged with 'Term 1'.
The CPT is created with Toolset Types and the post listing is using Elementor widgets (loop grid , and the taxonomy filter).
Is there a workaround for this issue?
Thank you!
Hi,
Thank you for contacting us and I'd be happy to assist.
The Toolset Types plugin registers custom post types, custom taxonomies, and custom fields as per WordPress development standards.
Since the Elementor widget controls the query in this case, I doubt Toolset has anything to do with this. But, here are a few recommendations:
1. Some third-party plugins for 'post order' are known to override the queries globally. I'll recommend testing this with all extra plugins disabled ( i.e. keeping only Toolset and Elementor plugins active ).
2. In case the issue persists, you can disable Toolset plugins and then try registering a temporary custom post type and a custom taxonomy without Toolset. You'll find easy to generate and use code snippets for these from the following code generator:
hidden link
hidden link
If the issue with the filtering still persists, you can share the results with Elementor's support, since the issue is reproducible even without Toolset.
Note: In case the Elementor widget doesn't work for you, you can always replace it with a Toolset view, for creating a filterable list of posts.
I hope these points will help and please let me know how it goes.
regards,
Waqar
Thank you Waqar! I have tried the 2 recommendations that you've mentioned, the issue still persists. I have shared the results with Elementor support, but they still said that nothing is wrong on their end.
So I did not use that Elementor widgets anymore, I have replaced it with a Toolset view, and it works perfectly.
Thank you for your help on this!