Skip Navigation

[Resolved] How do I display relationships through Elementor Loop Grid?

This thread is resolved. Here is a description of the problem and solution.

Problem:

The user wants to display a many-to-many relationship between Events and Speakers, including filtering by a custom field (keynote speakers), within Elementor.

Solution:

To achieve this, follow these steps:

1. Enable Legacy Views:

- Navigate to Toolset > Settings > General.
- In the "Editing experience" section, enable "Show both the legacy and Blocks interface and let me choose which to use for each item I build".
- Reload the page to see the Toolset > Views menu.

2. Create a View:

- Create a new View under Toolset > Views.
- Use the View to query Speakers related to Events.
- Add a filter for the "keynote speaker" checkbox if needed.

3. Use the View in Elementor:

Add the View shortcode in an Elementor text widget or shortcode widget to display the relationship data.

Relevant Documentation:

https://toolset.com/course-lesson/enabling-legacy-version-of-toolset-views/

https://toolset.com/documentation/legacy-features/views-plugin/#post-relationships

https://toolset.com/course-lesson/using-toolset-with-elementor-page-builder/

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.

This topic contains 1 reply, has 1 voice.

Last updated by Christopher Amirian 2 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2789769

I have events and speakers with a many-to-many relationship. I want to display the speakers, as well as keynote speakers (defined through a checkbox in a custom field). I can't seem to find how to display these within Elementor

#2789842

Christopher Amirian
Supporter

Languages: English (English )

Hi,

Welcome to Toolset support. You will need to enable the legacy views:

- Go to "Toolset > Settings > General".
- Find the "Editing experience" section.
- Check the "Show both the legacy and Blocks interface and let me choose which to use for each item I build" checkbox.
- Reload the browser page.
- Go to the newly added "Toolset > Views" menu.
- There you will be able to edit the views.

For more information:
https://toolset.com/course-lesson/enabling-legacy-version-of-toolset-views/

After that you need to create a view and show the relationship data there. For more information:

https://toolset.com/documentation/legacy-features/views-plugin/#post-relationships

After that, you can use the views shortcode to show the view in Elementor using a normal Text element.

More details:

https://toolset.com/course-lesson/using-toolset-with-elementor-page-builder/

Thanks.