Skip Navigation

[Resolved] Use a Toolset View inside Elementor Loop Grid

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

Problem:

Using a Toolset View within an Elementor Loop Grid displays all linked files for all posts, rather than only the files associated with the current post.

Solution:

Toolset Views and Elementor Loop Grids are not fully compatible. Instead, use a Toolset View for the loop and integrate it with Elementor via a shortcode.

Create a Toolset View for the Loop:

- Go to Toolset > Views.
- Create a new View to display your "Documents" custom post type.
- Configure the View to display the fields you need, ensuring it filters by the current post.

Add the Toolset View to Elementor:

- In Elementor, use the Text Editor or Shortcode widget.
- Add the shortcode for your Toolset View.

Relevant Documentation:

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

https://elementor.com/help/elementor-integration-with-toolset/

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 1 week ago.

Assisted by: Christopher Amirian.

Author
Posts
#2787934
Screenshot_6.jpg
Screenshot_5.jpg

It's been a while since I last used Toolset, so I guess I am getting a bit rusty.

I have a CPT "Document" with a Custom Fields Group that allows me to upload some pdf, xslx files. Works fine.
I have an Elementor template applied to a single post (title, content, ... and a Toolset View) and when I view each CPT individually, the View loads only the uploaded files to that post, like expected:

example 1: hidden link
example 2: hidden link

The Content Template:
[wpv-for-each field="wpcf-document-linked-files"]

  • [types field='document-linked-files' output='normal'][/types]
  • [/wpv-for-each]

    But when I use the same setup and View inside an Elementor Loop Grid, it shows all the linked files for all the posts:
    hidden link

    Is this setup not compatible with the Elementor Loop Grid?

    #2788404

    Christopher Amirian
    Supporter

    Languages: English (English )

    Hi,

    You can not use Views inside the Elementor Loop grid as they have separate technology and are not compatible.

    I suggest that you use the Toolset view for the loop and add it as a shortcode inside the Elementor.

    You can learn more about that here:

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

    hidden link

    Thanks.