Please see attached screenshots.
Layout1.jpg and layout2.jpg are before editing with Elementor, layou3.jpg and layout4.jpg after saving Elementor changes.
I now need to click "Stop using this Template Layout" and Update
I understand that Elementor and Layouts are not compatible. Does this mean I need to disable one of these plugins or just that I can't use both on the same page/post?
I see there's a new Toolset View element in Elementor for including Views, currently I'm using Layouts to see this view:
[code]
<p>[wpv-view name="plant-common-names" ids="[wpv-post-id id='$current-page']"]</p>
[/code]
How would I include this view using Elementor instead of Layouts - in Elementor I can only specify the wpv-view name, there's no option to include parameter - ids="[wpv-post-id id='$current-page']
Thanks for any help
David
Dear David,
Q1) Does this mean I need to disable one of these plugins or just that I can't use both on the same page/post?
Yes, you are right, there are some know compatibility issues with Layouts and Elementor, see the blog post here:
https://toolset.com/2017/12/how-to-use-toolset-with-different-page-builders/
Section "Page Builders that we’re also looking to integrate"
Elementor Page Builder – a freemium page builder. There were some cross incompatibility issues preventing us from integrating this page builder ...
You don't need to disable one of these plugins, you just need to use only one on the same page/post
Q2) How would I include this view using Elementor instead of Layouts
You can create a text element in Elementor, and display the Views shortcode with attribute settings directly:
<p>[wpv-view name="plant-common-names" ids="[wpv-post-id id='$current-page']"]</p>
Hi Luo, Thanks for your reply.
Please could you have a look at the screen shots, the main problem I'm having is keeping Elementor and Layouts separate, before editing a page with Elementor there was no Template Layout associated with that page, after I've edited and updated using Elementor the page switches to Layouts Template for pages - Layout4.jpg screenshot . How do I stop Layouts taking over the page?
Which is why I ask if I need to disable one of the plugins.
Thanks for your help
David
Thanks for the explaination, please edit the layout "Layouts Template for pages", click button "Change how this layout is used":
disable the option "Pages" under "Template for multiple pages", and test again.
Sorry Luo I'm a little confused.
The Layout "Template for Pages" is in the Trash and not assigned to any post type - so the "Pages" option is already disabled, but it still switches to this template after clicking Update in Elementor.
I've now created a page (using Elementor) and inserted a Text element which contains the shortcode for the view as you suggested. My question now is how do I use this page as a template for all posts in a post type?
Thanks for your help
David
Q1) The layout "Template for Pages" is in the Trash and not assigned to any post type - so the "Pages" option is already disabled, but it still switches to this template after clicking Update in Elementor.
This is abnormal, if you need assistance for it, please check these:
1) Delete the layout "Template for Pages" completely.
2) Deactivate other plugins, and switch to wordpress default theme 2017, and test again
3) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL and view URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/
Q2) My question now is how do I use this page as a template for all posts in a post type?
What is the page you mentioned above?
Is it a wordpress page?
If it is, then it is not possible within Toolset.
Within Toolset, you can create/design a layout, and assign it to posts of custom post type. for example:
edit the layout "Layouts Template for pages", click button "Change how this layout is used":
enable the option "Pages" under "Template for multiple pages".
Hi Luo,
Yes, the page I want to use as a template is a wordpress page. So just to clarify, if I want a template for posts of a custom post type my only option is to use Layouts, and I can't use Elementor to create or edit this template page.
Thanks
David
Thanks for the clarification.
You can create/design a layout, and assign it to posts of custom post type, in this layout add a content template cell, use elementor to design this content template.
More help:
https://toolset.com/documentation/user-guides/content-template-cell/