Skip Navigation

[Resolved] Improve display of Views in Elementor

This support ticket is created 5 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by helenmaryC 5 years, 7 months ago.

Assisted by: Beda.

Author
Posts
#1113639

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.

#1114839

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.

#1114871

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 🙂

#1115202

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!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.