I am trying to insert a view on a page designed with Elementor. The view uses a shortcode filter to select records. So far as I can see, there is no place to add the shortcode when using the Toolset View widget. It would be nice if we could do so.
I then tried adding the view as a regular shortcode which works on a non-Elementor page
[wpv-view name="dogs-for-rosettes" author="[crfcrc-linked-users-cd]"]
The View displays, but the filter is not executed. So it seems like something is happening with the Shortcode widget to strip the filter.
What finally did work was inserting the view shortcode into a regular Text Editor. I'm fine with doing this, it just seems that the other methods should work, too.
I'm not sure if this is ultimately your issue or Elementors. If you think it is theirs, let me know and I will inform them as well.
Thanks.
You can not insert a View and pass a ShortCode attribute to it in Elementor's Widget for Views.
You need to insert it as you did, via a Text Module.
We are in close cooperation with the Elementor Developers, so there is technically no need to inform them, however, it's always good to make you heard on both ends 😉
That way, we all are aware of the urgency and a solution can be made even faster if both ends actively work on it.
However, this specific case may not find it's solution, as it is a technical limitation currently making this not possible.
I have asked our Developers about the plans hereabout and will update you here once I have precise news.
OK, I got some news.
The Toolset View Elementor widget doesn't support anything that has to do with shortcodes and arguments inserted manually.
It's "just" a set of parameters adjusted by the editor through the page builder GUI.
The widget building API that Elementor supports at the moment could not facilitate our GUI needs related to the Query Filter functionality.
The reason is that Elementor expects the widget GUI to be (known and) ready upon editor load, but the widget cannot know at build time which of the widgets support query filtering by shortcodes etc.
Well, actually it could potentially find out this information but it would be really "expensive" for sites with many Views, so we prefered to leave this out until the Elementor API receives this kind of features.
So, it is probably helpful if you as well inform the Elementor Developers about your requirements.
We are in contact of course, however your voice may raise speed 🙂
There are a lot of moving parts here between Toolset and Elementor, but I think you are both making progress.
I will let Elementor know about how this is working and how they might improve it.
Thanks!