Skip Navigation

[Resolved] Creating a view/block to use in an elementor tab widget

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

Problem:

So I would like to create a block/view with that one and insert it the Elementor template.

Solution:

Toolset Blocks plugin is based on WordPress Blocks editor, it is not recommended to display View block into Elementor template.

In you case, I suggest you setup the view with classic editor, then display view's shortcode into Elementor template, for example:

https://toolset.com/forums/topic/creating-a-view-block-to-use-in-an-elementor-tab-widget/#post-2013245

Relevant Documentation:

https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-view

This support ticket is created 3 years, 9 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by BorisG4880 3 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#2012931

Dear support,
I want to make use of tabs in a post template. As I could not find this within toolset I installed Elementor Pro and the Elementor Blocks for Gutenberg plugin. I created a template with Elementor and I can pull custom fields following this tutorial: hidden link
But Elementor is a lot more limited in pulling dynamic content than your beautiful and powerful "fields and text" editor. So I would like to create a block/view with that one and insert it the template. I managed to create a view just now, but copying and pasting the code to the text editor of the Elementor tab does not do the trick, it just shows the code also in visual view.
Any ideas how to solve this if possible in an elegant way?
All the best,
Boris

#2013245

Hello,

Toolset Blocks plugin is based on WordPress Blocks editor, it is not recommended to display View block into Elementor template.

In you case, I suggest you setup the view with classic editor, then display view's shortcode into Elementor template, for example:
1) Dashboard-> Toolset-> Settings-> General:
in section "Editing experience", enable option "Show both the legacy and Blocks interface and let me choose which to use for each item I build"

2) Dashboard-> Toolset-> Views, create a new post view with classic editor

3) In your Elementor template, display above view's shortcode:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-view

#2013277

Thank you so much for this quick reply. It is a relief to also have the old view editor available. Wonderful.
Have a great day,
Boris