Hi @jg600sl,
I checked your test page and you’re almost there. The only other thing you need to do is go into the Post Widget settings > Advanced tab > CSS Classes, and add your custom class name.
Right now you’ve used .mbpost-grid in the filter settings, which is correct, but on the post widget side you also need to enter mbpost-grid (without the dot) into the CSS Classes field.
Once that’s set, the filter should properly connect with your gallery.
Let me know if it works and if you need more assistance.
Regards,
Dara
Dara,
Thanks so much for your quick reply. I have started over on a new page and have applied what you said to it, but still having issues, I still must be doing something wrong.
The new link is https://martabuenaventura.es/artworks-2/
I want the filters to be dynamic so when you select multiple it will show you all the items possible (i think this is ‘and’ logic, right?)
Thanks so much for your help,
Jeff
Hi Jeff,
Thanks for the extra details. I took another look at your setup, and from what I can see, your filter settings now look fine. The issue is likely coming from either the Genevra theme or another plugin interfering with the query, or the way your portfolio items are registered.
To narrow it down, please try the following test:
- Add a standard Elementor Posts widget to a new page (or even the same page) and set it up to use “post” under “post type to filter”. Then choose the taxonomy “Categories (category)” in the filter list.
- Add a few standard posts (not pages) that have categories assigned so the filter has something to work with.
- Apply the filter and check if it returns posts correctly.
If it works: the problem is most likely with how the theme registers the portfolio items.
If it doesn’t work: then another plugin or a global query modification is likely interfering.
Another point that could cause issues is having a page anywhere on your site with the same URL as a post type or taxonomy archive used by your portfolio. This can prevent queries from returning posts correctly. To check, review all page slugs and make sure none match the archive slug of your portfolio or any taxonomy used in your filter. eg: a page with the slug /portfolio-item/ would cause issue.
This will help pinpoint whether the issue is theme-specific or related to the environment. Once I know that, I can suggest a proper workaround.
Let me know what you find. If you need a more hands-on approach, you can write to info@wpsmartwidgets.com and I’ll be happy to take a closer look.
Regards,
Dara
Closing this topic now, as the issue has been resolved.